-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OpenAPI Specification #195
Comments
Nice one. |
@BeTheCodeWithYou may I work on this issue? |
@pgmpofu thanks for interest in contributing. Yes please you could very well pickup this item. idea is to develop zerocode plugin/utility and use it in below scenario AC GIVEN a REST API contract defined in the Open Spec example:- uber.json in Open API Spec ( this is just a sample JSON. you could create a simple json based on open spec and then proceed ) @authorjapps add more points to AC if you think of. |
Can I work on this issue ? |
Please assign it to me |
@respondsid , Yes will do. Thanks 👍
@pgmpofu, it seems like you are bit occupied in your current work, which is fine. But you can certainly help us in reviewing the PR. We will inform you when the PR is ready. |
@respondsid , Basically our approach could be in this way.
You can use the constructor of the above classes to generate the JSON steps. Then just
Initially we could assume that
|
Oh thanks for the pointer i was planni g on using mustache temolates but
this ine sounda even better
…On Wed, Apr 3, 2019, 3:59 PM authorjapps ***@***.***> wrote:
@respondsid <https://github.com/respondsid> , Basically our approach
could be in this way.
Once we figure out how to parse the open-api/swagger spec-json, we have
to fit the
url, method, request, response to the below two classes
org.jsmart.zerocode.core.domain.Step
org.jsmart.zerocode.core.domain.ScenarioSpec
You can use the constructor of the above classes to generate the JSON
steps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#195 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQfIZwX8oJgmu3Zgj9us_HD0B9fxV53Eks5vdQgGgaJpZM4aR0CI>
.
|
I was able to parse the spec
…On Wed, Apr 3, 2019, 3:59 PM authorjapps ***@***.***> wrote:
@respondsid <https://github.com/respondsid> , Basically our approach
could be in this way.
Once we figure out how to parse the open-api/swagger spec-json, we have
to fit the
url, method, request, response to the below two classes
org.jsmart.zerocode.core.domain.Step
org.jsmart.zerocode.core.domain.ScenarioSpec
You can use the constructor of the above classes to generate the JSON
steps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#195 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQfIZwX8oJgmu3Zgj9us_HD0B9fxV53Eks5vdQgGgaJpZM4aR0CI>
.
|
When we have a working version(which we are close to it already), then we will try to refine it a bit to take the following into account (sometimes later as we proceed).
|
@respondsid , Join the collaborators mailing list Join Gitter room Cheers 👍 |
Hi Team, i would like to work on this issue. Can any one guide me, how to start |
hi all - forking the repo, hopefully will be back here sooner than later with a PR :) |
@lukecolpo , thanks for your interest 🙏 Are you already in Slack ? |
@authorjapps sure!!! i've been getting up to speed with the code base as well as the new spec, so i think that'd be a great idea. I'll join the slack |
@lukecolpo any positive update on this issue or Should I ask @authorjapps to assign this issue to me ? |
@authorjapps , @santhoshTpixler , @respondsid |
I was looking for something similar and stumbled on to this. |
Hi @SuyogSSS , @warademilind , Looks like you bath have different requirements here than the original ticket. Let me know if my assumption is wrong. Please provide your requirements what exactly you want to do. I will try to help. I have created space specific to you both(see here(click) ). Please put the details. I will create separate ticket if needed, so not to worry in terms of matching the original ticket. The original ticket demands very large implementation. Hence this ticket is kept opened and unable to get proper light to see the solution yet. @warademilind : Put your requirement step by step here what you want to achieve or test. @SuyogSSS : Put your requirement step by step here what you want to achieve or test. |
@nirmalchandra , please find below example of OpenAPI specification. If we can integrate this with Zerocode it will be very useful. |
How about adding a new generator for zerocode configuration files in the openapi-generator project? |
I agree with everyone that this is a very nice feature. There have been many volunteers to work on it and many interesting suggestions. However, this issue has been stalled for a long time. One possible way to reactivate this feature could be to create a Proof of Concept as starting point and then evaluate, discuss and refine it. I have previously worked on parsing and manipulating OpenAPI specs, and with the swagger petstore, so I could have this POC ready in a short time frame. Borrowing some previous suggestions, this could be:
@authorjapps What are your thoughts on this? |
@javiertuya , Yes. Sounds very right. My suggestions would be (for everyone involved in this): |
It would be nice if we can support Open API Spec in terms of generating zero code tests directly from api spec.
Add more details what all can be supported in the library in context of open spec.
Open Spec reference
https://github.com/OAI/OpenAPI-Specification
Edited (2024-10-27):
Create a Proof of Concept:
${RANDOM.STRING:10}
) as the generated random values.zerocode-openapi
).Tasks:
The text was updated successfully, but these errors were encountered: