kongchen / swagger-maven-plugin

JAX-RS & SpringMVC supported maven build plugin, helps you generate Swagger JSON and API document in build phase.
http://kongchen.github.io/swagger-maven-plugin/
Apache License 2.0
761 stars 451 forks source link

Auto-generate example values #868

Open Hervian opened 3 years ago

Hervian commented 3 years ago

Hi, Thanks for a great plugin. I have just switched from springfox's dynamic generation on swagger.json to your compile time solution. One thing I think is missing is example values.

That is, I believe the springfox generated document have autogenerated example values, say 'abc' for a string. Can similar be configured with the swagger-maven-plugin, or must I manually add examples values?

Best, Anders