This document describes the steps to upgrade the client to a new version of the AAS API from swagger.
The following steps are necessary to upgrade the client to a new version of the AAS API from swagger. Steps include:
- Generating client with swagger-codegen or swaggerhub
- Replacing the old client with the new one
- Adjusting the new generated client with
- BaSyx De-/Serialization
- Some Naming
- README modifications
- Go to AAS Swagger API
- Click in the right top corner on Export/Client SDK/python
- Archived generated client will be downloaded
- Replace the old client files with the new one from the downloaded archive
- Rename the package
sawgger_clienttoaas_python_http_client- PyCharm: click on package older and press
Shift+F6to rename the package
- PyCharm: click on package older and press
- Adjust
README.mdif necessary - Add
basyx-python-sdkto the requirements.txt - Adjust
api_client.py- Look up for changes made in the generated
api_client.pyin last upgrade - Apply the same changes to the new generated
api_client.py
- Look up for changes made in the generated