openapi

OpenAPI config

OpenAPI Config.

byte_bot.server.lib.openapi.config = OpenAPIConfig(title='Byte Bot', version='0.2.0', create_examples=False, random_seed=10, contact=Contact(name='Admin', url=None, email='hello@byte-bot.app'), description='The Byte Bot API supports the Byte Discord bot.\n                                  You can find out more about this project in the\n                                  [docs](https://docs.byte-bot.app/latest).', external_docs={'description': 'Byte Bot API Docs', 'url': 'https://docs.byte-bot.app/latest'}, license=None, security=None, components=Components(schemas={}, responses=None, parameters=None, examples=None, request_bodies=None, headers=None, security_schemes=None, links=None, callbacks=None, path_items=None), servers=[Server(url='http://0.0.0.0:8000', description='Development', variables=None), Server(url='https://dev.byte-bot.app/', description='Test', variables=None), Server(url='https://byte-bot.app/', description='Production', variables=None)], summary=None, tags=None, terms_of_service=None, use_handler_docstrings=True, webhooks=None, operation_id_creator=<function default_operation_id_creator>, path='/api', render_plugins=[<litestar.openapi.plugins.RedocRenderPlugin object>, <litestar.openapi.plugins.RapidocRenderPlugin object>, <litestar.openapi.plugins.YamlRenderPlugin object>, <litestar.openapi.plugins.StoplightRenderPlugin object>, <litestar.openapi.plugins.SwaggerRenderPlugin object>, <litestar.openapi.plugins.JsonRenderPlugin object>, <litestar.openapi.plugins.YamlRenderPlugin object>], openapi_router=None, openapi_controller=None, root_schema_site='swagger', enabled_endpoints={'oauth2-redirect.html', 'redoc', 'rapidoc', 'openapi.yaml', 'elements', 'swagger', 'openapi.json', 'openapi.yml'})

OpenAPI config for the project. See OpenAPISettings for configuration.