quest easy ,see title . thanks.
Yeah, there is param for router include_in_schema
Example:
app = FastAPI()
@app.get('/', include_in_schema=False)
def foo():
return {'success': True}
Yeah, there is param for router
include_in_schema
Example:app = FastAPI() @app.get('/', include_in_schema=False) def foo(): return {'success': True}
This is the perfect answer! How about we close this issue?
Yeah, there is param for router
include_in_schema
Example:app = FastAPI() @app.get('/', include_in_schema=False) def foo(): return {'success': True}This is the perfect answer! How about we close this issue?
yes .thanks.i see it just now.
Most helpful comment
Yeah, there is param for router
include_in_schemaExample: