- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 26 for isPaging (0.05 seconds)
-
tests/test_openapi_servers.py
from inline_snapshot import snapshot app = FastAPI( servers=[ {"url": "/", "description": "Default, relative server"}, { "url": "http://staging.localhost.tiangolo.com:8000", "description": "Staging but actually localhost still", }, {"url": "https://prod.example.com"}, ] ) @app.get("/foo") def foo(): return {"message": "Hello World"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
"servers": [ {"url": "/api/v1"}, { "url": "https://stag.example.com", "description": "Staging environment", }, { "url": "https://prod.example.com", "description": "Production environment", }, ],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.5K bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial004_py310.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", root_path_in_servers=False, ) @app.get("/app") def read_main(request: Request):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 437 bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial003_py310.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", ) @app.get("/app") def read_main(request: Request):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 405 bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py
"info": {"title": "FastAPI", "version": "0.1.0"}, "servers": [ { "url": "https://stag.example.com", "description": "Staging environment", }, { "url": "https://prod.example.com", "description": "Production environment", }, ],
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
/** * Source of snippets that can be inserted into the user manual */ public abstract DirectoryProperty getSnippets(); /** * Working directory for staging directory for intermediate user manual files */ public abstract DirectoryProperty getStagingRoot(); public abstract DirectoryProperty getStagedDocumentation(); /**Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 1.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotes.java
public abstract RegularFileProperty getReleaseNotesJsFile(); /** * The location of the release notes assets */ public abstract DirectoryProperty getReleaseNotesAssets(); // TODO: Need staging root property too /** * The collection of rendered documentation. */ public abstract RegularFileProperty getRenderedDocumentation();
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:08:23 GMT 2026 - 1.6K bytes - Click Count (0) -
docs/tr/docs/advanced/behind-a-proxy.md
/// Varsayılan olarak **FastAPI**, OpenAPI şemasında `root_path` için bir `server` oluşturur. Ancak başka alternatif `servers` da sağlayabilirsiniz; örneğin *aynı* docs UI'nin hem staging hem de production ortamıyla etkileşime girmesini istiyorsanız. Özel bir `servers` listesi verirseniz ve bir `root_path` varsa (çünkü API'niz proxy arkasındadır), **FastAPI** bu `root_path` ile bir "server"ı listenin başına ekler.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 16.5K bytes - Click Count (0) -
docs/fr/docs/advanced/behind-a-proxy.md
Mais vous pouvez aussi fournir d'autres `servers` alternatifs, par exemple si vous voulez que la même interface de documents interagisse avec un environnement de staging et un environnement de production.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/pt/docs/advanced/behind-a-proxy.md
Mas você também pode fornecer outros `servers` alternativos, por exemplo, se quiser que a mesma interface de documentação interaja com ambientes de staging e produção. Se você passar uma lista personalizada de `servers` e houver um `root_path` (porque sua API está atrás de um proxy), o **FastAPI** inserirá um "server" com esse `root_path` no início da lista. Por exemplo:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 16.6K bytes - Click Count (0)