I have generated a python-flask server based upon my OAS API schema (say PETS.yaml) using the OpenAPI Generator.
docker run --rm \\ -v ${PWD}:/local openapi