Skip to content
#

redoc

Here are 49 public repositories matching this topic...

fastapi
jonathanunderwood
jonathanunderwood commented Dec 22, 2019

Describe the bug

Startup event handlers for sub-applications never trigger.

To Reproduce

from fastapi import FastAPI


sub_app = FastAPI(openapi_prefix="/subapp")


@sub_app.on_event("startup")
async def sub_app_startup():
    print("++++ Sub-app startup event")  # Never fires


app = FastAPI()


@app.on_event("startup")
async def app_startup():
    prin
redoc
baohx2000
baohx2000 commented Feb 6, 2020

Just a FYI when people start trying to submit bugs about this, mobx-react shipped a funky build which is causing broken-ness (at least when using redoc-cli bundle)

mobxjs/mobx-react#831

Currently breaks with an error like:
Cannot find module '..../.npm/_npx/1868/lib/node_modules/redoc-cli/node_modules/mobx-react/dist/mobxreact.js (added for searchability)

Can

phr34k
phr34k commented Mar 28, 2020

I'm new to rest_framework but I'm using drf in combination with redoc and this library and it seems to work fantastic.

I was wondering how can I generate custom sections of the documentation for objects that are commonly reused across all API calls. For example, I have a token object that is query/post parameter so I would like this to be explained topic in its own section.

With the help of

Improve this page

Add a description, image, and links to the redoc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the redoc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.