Skip to content

Commit 82b53d6

Browse files
committed
colors
1 parent f9cc3ab commit 82b53d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vetiver/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
def _init_app(self):
4949
app = self.app_factory()
5050

51-
@app.get("/")
51+
@app.get("/", include_in_schema=False)
5252
async def main_app():
5353
return {"msg": "root path"}
5454

@@ -60,7 +60,7 @@ async def main_app():
6060
async def ping():
6161
return {"ping": "pong"}
6262

63-
@app.get("/rapidoc", response_class=HTMLResponse)
63+
@app.get("/rapidoc", response_class=HTMLResponse, include_in_schema=False)
6464
async def rapidoc():
6565
return f"""
6666
<!doctype html>

0 commit comments

Comments
 (0)