OpenAPI template files for offline usage.
This package will download the related files during the build time, and package them into the final distribution.
- Swagger
- Redoc
- Scalar
pip install offapifrom offapi import OpenAPITemplate
swagger_template = OpenAPITemplate.SWAGGER.value
swagger_template.format(spec_url="your_path_to_the_spec.json")