- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 728 for OpenAPI (0.19 sec)
-
docs/uk/docs/tutorial/first-steps.md
#### OpenAPI і JSON Schema OpenAPI описує схему для вашого API. І ця схема включає визначення (або "схеми") даних, що надсилаються та отримуються вашим API за допомогою **JSON Schema**, стандарту для схем даних JSON. #### Розглянемо `openapi.json` Якщо вас цікавить, як виглядає вихідна схема OpenAPI, то FastAPI автоматично генерує JSON-схему з усіма описами API.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 15.5K bytes - Viewed (0) -
docs/ru/docs/advanced/generate-clients.md
```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ``` Это сгенерирует TypeScript SDK в `./src/client`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.9K bytes - Viewed (0) -
tests/test_additional_responses_bad.py
async def a(): pass # pragma: no cover openapi_schema = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { "responses": { # this is how one would imagine the openapi schema to be # but since the key is not valid, openapi.utils.get_openapi will raise ValueErrorRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.1K bytes - Viewed (0) -
docs/es/docs/advanced/generate-clients.md
```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ``` Esto generará un SDK de TypeScript en `./src/client`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/ru/docs/advanced/additional-responses.md
## Дополнительная информация об ответах OpenAPI { #more-information-about-openapi-responses } Чтобы увидеть, что именно можно включать в ответы, посмотрите эти разделы спецификации OpenAPI: * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responses-object" class="external-link" target="_blank">Объект Responses OpenAPI</a>, он включает `Response Object`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.3K bytes - Viewed (0) -
tests/test_tutorial/test_sub_applications/test_tutorial001.py
from fastapi.testclient import TestClient from docs_src.sub_applications.tutorial001_py39 import app client = TestClient(app) openapi_schema_main = { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/app": { "get": { "responses": { "200": { "description": "Successful Response",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.9K bytes - Viewed (0) -
tests/test_request_params/test_body/test_required_str.py
return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": {"title": "P", "type": "string"}, }, "required": ["p"],Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 11K bytes - Viewed (0) -
tests/test_request_params/test_file/test_optional_list.py
@pytest.mark.parametrize( "path", [ "/optional-list-bytes", "/optional-list-uploadfile", ], ) def test_optional_list_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [ {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10.4K bytes - Viewed (0) -
fastapi/security/api_key.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 9.6K bytes - Viewed (1) -
tests/test_request_params/test_body/test_optional_list.py
@pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 12.7K bytes - Viewed (0)