tdudgeon
6 years agoNew Contributor
Creating OpenAPI definition from Java code
I have need to convert an API defintion to OpenAPI. The existing defintion is expressed as a Java class so I need to use the Java API to convert this.
Are there any examples of how to generate Open...
- 6 years ago
Technically, you can do what you're trying to achieve, but it would require some coding. You can follow a similar logic to what the Reader class does for reading the annotations and parsing them into an OpenAPI object, just create it with your own logic of converting your existing structure to the OpenAPI object.