Support for OpenAPI 3.0.x
-
First, thanks for the great work of your plugin.
I wanted to use the plugin to generate an openapi document so I could generate client in scala (and also just to see how far I could go with using the wordpress-rest api, see https://www.software-creation.nl/2021/11/using-the-woocommerce-api/).
The plugin generates an openapi 3.1.0 document, however, most tools and editors I used only support openapi 3.0.xI’ve made some minor modifications so the document that’s generated is now also works with openapi 3.0.x with few or no modifications.
For now I’ve added the modifications on a forked repository, but if you want I’d like to add that to this plugin as well.
See:
https://github.com/gerbrand/wordpress-document-generator-for-openapiFor now, I just copied the class-generator-3_1_0.php to class-generator-3_0_0.php so you can see the diff. But we could combine the two classes as well using some branching logic.
- This topic was modified 4 years, 2 months ago by .
- This topic was modified 4 years, 2 months ago by .
The page I need help with: [log in to see the link]
The topic ‘Support for OpenAPI 3.0.x’ is closed to new replies.