question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] Change "default" name on Swagger page

See original GitHub issue

Hello. I have found how to change title and description of Swagger page but couldn’t find where to change this default block name?

app = FastAPI(
    title='Bla API',
    description='Bla description',
...

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

9reactions
sm-Fifteencommented, Feb 20, 2020

That’s the route tag for those routes, which is set to “default” if none is specified. You can set one either per route or per router, it’s mainly to help you organize your documentation by grouping API endpoints together.

4reactions
gouthamgowrishankarcommented, Jun 16, 2022

default can be replaced by using tags attributes in decorator @app.get(“/”, tags=[“health Check”])

Read more comments on GitHub >

github_iconTop Results From Across the Web

How change default heading in swagger UI - Boomi Community
In the Swagger Visualization Portal, is it possible to rename the "default" group to something ... I want to name it something more...
Read more >
How to change Swagger-UI "Default" Path - Stack Overflow
I want to get rid of the "Default" that appears as a group title of my swagger-UI.
Read more >
Swagger Codegen Documentation
Swagger Codegen Documentation. The Swagger Codegen is an open source code-generator to build server stubs and client SDKs directly from a Swagger defined ......
Read more >
Describing Parameters - Swagger
Query parameters are the most common type of parameters. They appear at the end of the request URL after a question mark (...
Read more >
Adding Examples - Swagger
Note: Do not confuse example values with default values. An example illustrates what the value is ... As you can see, each example...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found