- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for route (0.15 sec)
-
fastapi/openapi/utils.py
responses_from_routes.append(route.response_field) if route.response_fields: responses_from_routes.extend(route.response_fields.values()) if route.callbacks: callback_flat_models.extend(get_fields_from_routes(route.callbacks)) params = get_flat_params(route.dependant) request_fields_from_routes.extend(params)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 21.8K bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
Для URL: ``` https://example.com/items/foo ``` ...путь выглядит так: ``` /items/foo ``` !!! info "Дополнительная иформация" Термин "path" также часто называется "endpoint" или "route". При создании API, "путь" является основным способом разделения "задач" и "ресурсов". #### Операция (operation) "Операция" это один из "методов" HTTP. Таких, как: * `POST` * `GET`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/de/docs/tutorial/first-steps.md
In einer URL wie: ``` https://example.com/items/foo ``` ... wäre der Pfad folglich: ``` /items/foo ``` !!! info Ein „Pfad“ wird häufig auch als „Endpunkt“ oder „Route“ bezeichnet. Bei der Erstellung einer API ist der „Pfad“ die wichtigste Möglichkeit zur Trennung von „Anliegen“ und „Ressourcen“. #### Operation „Operation“ bezieht sich hier auf eine der HTTP-„Methoden“.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 12:16:22 GMT 2024 - 10.5K bytes - Viewed (0) -
tests/test_extra_routes.py
app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None @app.api_route("/items/{item_id}", methods=["GET"]) def get_items(item_id: str): return {"item_id": item_id} def get_not_decorated(item_id: str): return {"item_id": item_id} app.add_api_route("/items-not-decorated/{item_id}", get_not_decorated) @app.delete("/items/{item_id}")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 13.7K bytes - Viewed (0) -
docs/en/docs/tutorial/first-steps.md
So, in a URL like: ``` https://example.com/items/foo ``` ...the path would be: ``` /items/foo ``` !!! info A "path" is also commonly called an "endpoint" or a "route". While building an API, the "path" is the main way to separate "concerns" and "resources". #### Operation "Operation" here refers to one of the HTTP "methods". One of: * `POST` * `GET`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 12K bytes - Viewed (0) -
docs/en/docs/alternatives.md
It is a plug-in for many frameworks (and there's a plug-in for Starlette too). The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route. And it generates OpenAPI schemas. That's how it works in Flask, Starlette, Responder, etc. But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
https://example.com/items/foo ``` ... yol şöyle olur: ``` /items/foo ``` !!! info "Bilgi" "Yol" genellikle "<abbr title="Endpoint: Bitim Noktası">endpoint</abbr>" veya "<abbr title="Route: Yönlendirme/Yön">route</abbr>" olarak adlandırılır. Bir API oluştururken, "yol", "kaynaklar" ile "endişeleri" ayırmanın ana yöntemidir. #### Operasyonlar Burada "operasyon" HTTP "metodlarından" birini ifade eder.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Feb 08 13:10:55 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
address = ":9999" [providers] [providers.file] filename = "routes.toml" ``` This tells Traefik to listen on port 9999 and to use another file `routes.toml`. !!! tip We are using port 9999 instead of the standard HTTP port 80 so that you don't have to run it with admin (`sudo`) privileges. Now create that other file `routes.toml`: ```TOML hl_lines="5 12 20" [http] [http.middlewares]
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 11.6K bytes - Viewed (2) -
docs/fr/docs/tutorial/first-steps.md
Donc, dans un URL tel que : ``` https://example.com/items/foo ``` ...le "path" serait : ``` /items/foo ``` !!! info Un chemin, ou "path" est aussi souvent appelé route ou "endpoint". #### Opération "Opération" fait référence à une des "méthodes" HTTP. Une de : * `POST` * `GET` * `PUT` * `DELETE` ...ou une des plus exotiques :
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Sep 27 20:52:31 GMT 2023 - 10.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params.md
<img src="/img/tutorial/path-params/image02.png"> De la même façon, il existe bien d'autres outils compatibles, y compris des outils de génération de code pour de nombreux langages. ## Pydantic Toute la validation de données est effectué en arrière-plan avec <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a>,
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10K bytes - Viewed (0)