apidoc2/__apidoc__.py
Antonio de la Rosa aaf3c17220 Added files
2025-04-26 16:50:27 +02:00

18 lines
1 KiB
Python

from modules.apidoc2.libraries.apidoc import AppDoc
from modules.apidoc2 import apidoc_app
description="""
This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about Swagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach! You can now help us improve the API whether it's by making changes to the definition itself or to the code. That way, with time, we can improve the API in general, and expose some of the new features in OAS3.
Some useful links:
- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)
- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)
"""
appdoc=AppDoc(apidoc_app, description)
appdoc.url='/'
#appdoc.routes['apidoc_app.item'].summary='Summary item'
#appdoc.routes['apidoc_app.item'].description='Description item'
#appdoc.tags['apidoc']='An example of description'