We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9cc3ab commit 82b53d6Copy full SHA for 82b53d6
1 file changed
vetiver/server.py
@@ -48,7 +48,7 @@ def __init__(
48
def _init_app(self):
49
app = self.app_factory()
50
51
- @app.get("/")
+ @app.get("/", include_in_schema=False)
52
async def main_app():
53
return {"msg": "root path"}
54
@@ -60,7 +60,7 @@ async def main_app():
60
async def ping():
61
return {"ping": "pong"}
62
63
- @app.get("/rapidoc", response_class=HTMLResponse)
+ @app.get("/rapidoc", response_class=HTMLResponse, include_in_schema=False)
64
async def rapidoc():
65
return f"""
66
<!doctype html>
0 commit comments