Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kemingy/offapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OffAPI

OpenAPI template files for offline usage.

This package will download the related files during the build time, and package them into the final distribution.

Supports

  • Swagger
  • Redoc
  • Scalar

Installation

pip install offapi

Usage

from offapi import OpenAPITemplate

swagger_template = OpenAPITemplate.SWAGGER.value
swagger_template.format(spec_url="your_path_to_the_spec.json")

Used by

  • spectree: API spec validator and OpenAPI document generator for Python web frameworks.
  • defspec: Create the OpenAPI spec and document from dataclass, attrs, etc.

About

OpenAPI template files for offline usage.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages