- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 727 for OpenAPI (0.04 seconds)
-
tests/test_request_params/test_form/utils.py
from typing import Any def get_body_model_name(openapi: dict[str, Any], path: str) -> str: body = openapi["paths"][path]["post"]["requestBody"] body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 285 bytes - Click Count (0) -
tests/test_tutorial/test_metadata/test_tutorial002.py
def test_get_openapi_json_default_url(): response = client.get("/openapi.json") assert response.status_code == 404, response.text def test_openapi_schema(): response = client.get("/api/v1/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": { "title": "FastAPI", "version": "0.1.0",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/index.md
Це була зовсім інша система, і сьогодні вона майже не використовується. ## OpenAPI OpenAPI (раніше Swagger) — це специфікація для побудови API (тепер під егідою Linux Foundation). **FastAPI** базується на **OpenAPI**. Завдяки цьому Ви отримуєте автоматичну інтерактивну документацію, генерацію коду та багато іншого. OpenAPI дозволяє описувати різні "схеми" безпеки.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jun 24 18:57:48 GMT 2025 - 6.8K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
assert response.status_code == 200, response.text assert response.json() == {"item_id": 2} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.6K bytes - Click Count (0) -
tests/test_generate_unique_id_function.py
def post_router(item1: Item, item2: Item): return item1, item2 # pragma: nocover app.include_router(router) client = TestClient(app) response = client.get("/openapi.json") data = response.json() assert data == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "post": { "summary": "Post Root",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 66.7K bytes - Click Count (0) -
docs/uk/docs/tutorial/body-fields.md
/// warning Додаткові ключі, передані в `Field`, також будуть присутні у згенерованій схемі OpenAPI для вашого додатка. Оскільки ці ключі не обов'язково можуть бути частиною специфікації OpenAPI, деякі інструменти OpenAPI, наприклад, [OpenAPI валідатор](https://validator.swagger.io/), можуть не працювати з вашою згенерованою схемою. /// ## Підсумок
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 3.7K bytes - Click Count (0) -
tests/test_security_http_basic_realm.py
assert response.json() == {"detail": "Not authenticated"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_additional_responses/test_tutorial001.py
assert response.json() == {"message": "Item not found"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.3K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial005.py
assert response.status_code == 200, response.text assert response.json() == data def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/ru/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> Но вы можете отключить её, установив `syntaxHighlight` в `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} …и после этого Swagger UI больше не будет показывать подсветку синтаксиса: <img src="/img/tutorial/extending-openapi/image03.png"> ## Изменить тему { #change-the-theme }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.2K bytes - Click Count (0)