Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1008 Bytes

File metadata and controls

33 lines (29 loc) · 1008 Bytes

Generate Open API Clients from Prism V2 OpenAPI v3 specification

1. Install openapi-generator-cli

npm install @openapitools/openapi-generator-cli -g

2. Install Python openapi-python-client

pip3 install openapi-python-client

3. CD to correct directory

cd openapi-generator/

4. Create dereferenced OpenAPI specification for Prism V2

./generate_dereferenced_openapi_spec.sh

5. Generate or Update Open API Client

If client library don't exist then generate a new version

./generate_client_library.sh 

If client library already exist then update the current version

./update_client_library.sh 

6. ℹ️ Generate Open API Clients for Various Programming Languages

For detailed information on how to use openapi-generator-cli please refer to the documentation.

A full list of available generators can be found here.