Forum Discussion
ponelat
2 years agoStaff
Hi sagarkancherla ,
I don't think there is any API or library that creates examples. It was a requested feature and something we'd like to have.
Here is an issue from 2019 requesting it: https://github.com/swagger-api/swagger-ui/issues/5343
And there may be more.
I haven't used it, but https://www.npmjs.com/package/openapi-sampler looks promising for generating JSON (maybe XML?) samples.
If you do get it to work for your use-case, post back and let us know!
Related Content
- 6 months ago
- 5 years ago
- 4 years ago
Recent Discussions
- 4 days ago
- 26 days ago