vmware / vmware-openapi-generator

VMware-openapi-generator tool generates open-api documents from vapi metamodel format.
Other
23 stars 19 forks source link

Add switch for deprecated rest APIs generation #57

Closed antonOO closed 4 years ago

antonOO commented 4 years ago

Some of the apparent APIs contain Auto REST descriptions (obtained via the navigation service) or @RequestMapping annotations, both of which were later on updated with the new @VERB annotations, essentially, making the old ones deprecated.

The following work introduces a switch - the 'deprecate-slash-rest' parameter, as described in the README file, which allows generation of the deprecated APIs. Priorly, the deprecated APIs were not generated at all.

Signed-off-by: Anton Obretenov obretenova@vmware.com