Results of 1 - 3 of about 3 for syntax (0.005 sec.)
- Configure Swagger UI 11924
- Configure Swagger UI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can configure some extra Swagger UI parameters . To configure them, pass the swagger_ui_pa
...tAPI converts the configurations to JSON to make them compatible with JavaScript, as that's what Swagger UI needs. Disable Syntax Highlighting For example, you could disable syntax highlighting in Swagger UI. Without changing the settings, syntax highl...ighting is enabled by default: But you can disable it by setting syntaxHighlight to False : Python 3.8+ from fastapi import FastAPI app = FastAPI ( swagger_ui_parameters = { "syntaxHighlight" :...ync def read_user ( username : str ): return { "message" : f "Hello { username } " } ...and then Swagger UI won't show the syntax highlighting anymore: Change the Theme The same way you could set the syntax highlighting theme with the key "syntaxHighli... - https://man.mtool.work/fastapi/0.115/how-to/configure-swagger-ui/
- Repository Management Tasks 8129
- Repository Management Tasks These are the tasks that can be performed to manage the FastAPI repository by team members . Tip This section is useful only to a handful of people, team members with permissions to manage the repository. You can
...uld include a source example file, not write Python directly in Markdown. If the source example(s) file can have different syntax for Python 3.8, 3.9, 3.10, there should be different versions of the file, and they should be shown in tabs in the docs. T... - https://man.mtool.work/fastapi/0.115/management-tasks/
- Release Notes 7813
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
...es in docs/en/docs/advanced/generate-clients.md . PR #12642 by @AyushSinghal1794 . ? Fix admonition double quotes with new syntax. PR #12835 by @tiangolo . ? Update includes in docs/zh/docs/advanced/additional-responses.md . PR #12828 by @zhaohan-dong...romagnoli . ? Update includes in docs/en/docs/advanced/behind-a-proxy.md . PR #12583 by @imjuanleonard . ? Update includes syntax for docs/pl/docs/tutorial/first-steps.md . PR #12584 by @sebkozlo . ? Update includes in docs/en/docs/advanced/middleware.... - https://man.mtool.work/fastapi/0.115/release-notes/
PREV
1
NEXT