For Python example, run the command below in a terminal:
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate -i https://petstore.swagger.io/v2/swagger.yaml -g python -o /local/out/python
The generated code will be in the out
folder from the current path ${PWD}
.
So, if you need to change the folder permissions for the current user, run: