Adds a file containing the OpenAPI specification. This spec is accessible from the openapi.yaml route. The openapi route shows the same spec but using the Swagger UI.
openapi.yaml
openapi
It uses the pyramid_openapi3 library to validate the endpoints.