Skip to content
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

Any idea about using example in swagger file while not generating random records? #15

Closed
rapax87 opened this issue Sep 3, 2019 · 7 comments

Comments

@rapax87
Copy link

rapax87 commented Sep 3, 2019

Hi there,

Any idea about using example request and response in swagger file while not generating random records?

@nirdosh17
Copy link

Facing same issue.

@strider2038
Copy link
Collaborator

Ok, I will add this feature to the plan. I will return to work on project in october.

@rapax87
Copy link
Author

rapax87 commented Sep 23, 2019

And I think it will be a great feature if mock server use examples of swagger file and give the corresponding response to a request with the same example name.
For now, I didn't see anyone did it. It is a little bit complicated but it will be very cool.

@rafaltrojanowski
Copy link

Hi,

I'm going to use swagger-mock, is there any update on this issue? :)

@strider2038
Copy link
Collaborator

I'm sorry, I can not make any promises about the project. We are planning to rewrite it in Go and use a separate library for parsing OpenAPI specification, but it will not be soon.

@rafaltrojanowski
Copy link

Thanks and good luck with rewriting it in Go!

@strider2038
Copy link
Collaborator

This feature was added in version v0.2. Be aware, project was moved to another location. Please, read project description for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants