INNER CODE UNIT · Python

custom_openapi

AutomationPanda/bulldoggy-reminders-app · app/main.py:58

def custom_openapi():
  if app.openapi_schema:
    return app.openapi_schema
  
  description = \
    """Bulldoggy is a web app for tracking reminders.
    It is a full-stack Python app built using FastAPI and HTMX.
    It is meant to be an "example" or "demo" app used for instructional purposes.
    """

  openapi_schema = get_openapi(
    title="Bulldoggy: The Reminders App",
    version="1.0.0",
    description=description,
    routes=app.routes,
    tags=[
      {
        "name": "API",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…