raghavsikaria
raghavsikaria

Reputation: 1106

How to add custom title for the web-browser tab in the Swagger YAML root file using with Connexion Python?

So I have this Swagger UI which I built using YAML config and I am using it with Connexion Python. How do I change the title of the page which has been circled in red marker?

enter image description here

I have tried googling out stuff, but seems like, there are no answers for users of Connexion or Swagger YAML. Please help me out!

Upvotes: 0

Views: 691

Answers (1)

GuyNPNx
GuyNPNx

Reputation: 11

app.use("/api-docs", swaggerUi.serve, swaggerUi.setup(swagerDoc, { customSiteTitle: "Your title" }));

Upvotes: 1

Related Questions