12345678910111213from fastapi import FastAPIapp = FastAPI( title="my project", description="This is a very project", version="1.2.3")# redoc设置# app = FastAPI(openapi_url="/api/v1/openapi.json", version="1.2.1")# docs设置# app = FastAPI(docs_url="/docsapi", redoc_url=None)