Openapi-generator: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=External= * https://openapi-generator.tech =Internal= * OpenAPI Code Generators =Installation= <syntaxhighlight lang='bash'> brew install openapi-generator </syntaxhighlight> =Generate Python Code=")
 
 
Line 11: Line 11:


=Generate Python Code=
=Generate Python Code=
<syntaxhighlight lang='bash'>
openapi-generator generate -i ./petstore.yaml -g python -o ./python-client/
</syntaxhighlight>

Latest revision as of 23:07, 8 April 2024

External

Internal

Installation

brew install openapi-generator

Generate Python Code

openapi-generator generate -i ./petstore.yaml -g python -o ./python-client/