Showing results for 
Search instead for 
Did you mean: 

Generating Python Code Stubs for OpenAPI 3.0

New Contributor

Generating Python Code Stubs for OpenAPI 3.0

Having entered  a number of API's (OpenAPI 3.0) using the Yaml editor, I now want to generate code stubs for python (preferably just plain vanilla Python, but happy to use Python Flask based code stubs). Is it possible to generate stubs from Swagger Hub or do I need to download a 3rd party code generator? If the latter, can someone recommend which CG to get from GitHub (URL?)


Also, what are the steps for moving from entering the Yaml code to generating code? Is there a tutorial on this - if so can someone point me in the direction of it ie. do I need to generate resolved YAML or JSON files before generating server and client code etc?

New Here?
Join us and watch the welcome video: