Check all of FastAPI's documentation for OpenAPI. We want to be able to 100% support FastAPI OpenAPI documents produced by the server.
-
Make sure we fully support parsing all the models mentioned here. Compare it to the spec models we have:
https://fastapi.tiangolo.com/reference/openapi/models/#fastapi.openapi.models.OpenAPI.model_config
-
Make sure we use the same type mapping as laid out in fastapi's openapi generator
-
Make an example FastAPI server and generate an OpenAPI doc that is maximalist and uses as much of the specification as we can
-
With the generated document, save it as a test fixture and write tests against it.
Check all of FastAPI's documentation for OpenAPI. We want to be able to 100% support FastAPI OpenAPI documents produced by the server.
Make sure we fully support parsing all the models mentioned here. Compare it to the spec models we have:
https://fastapi.tiangolo.com/reference/openapi/models/#fastapi.openapi.models.OpenAPI.model_config
Make sure we use the same type mapping as laid out in fastapi's openapi generator
Make an example FastAPI server and generate an OpenAPI doc that is maximalist and uses as much of the specification as we can
With the generated document, save it as a test fixture and write tests against it.