- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 739 for openapi (0.3 seconds)
-
tests/test_response_class_no_mediatype.py
async def b(): pass # pragma: no cover client = TestClient(app) 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": { "/a": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.3K bytes - Click Count (0) -
tests/test_security_openid_connect_description.py
assert response.headers["WWW-Authenticate"] == "Bearer" 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.4K bytes - Click Count (0) -
docs/de/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt. /// note | Technische Details Sie können auch `from starlette import status` verwenden.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Этот статус-код будет использован в ответе и будет добавлен в схему OpenAPI. /// note | Технические детали Вы также можете использовать `from starlette import status`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.5K bytes - Click Count (0) -
docs/en/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} That status code will be used in the response and will be added to the OpenAPI schema. /// note | Technical Details You could also use `from starlette import status`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.1K bytes - Click Count (0) -
docs/en/docs/advanced/additional-status-codes.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/index.md
/// ## Интеграция с OpenAPI { #integrated-with-openapi } Все объявления запросов, проверки и требования ваших зависимостей (и подзависимостей) будут интегрированы в ту же схему OpenAPI. Поэтому в интерактивной документации будет вся информация и из этих зависимостей: <img src="/img/tutorial/dependencies/image01.png">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 15.4K bytes - Click Count (1) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
assert len(response.content) os.remove("./image.png") def test_openapi_schema(client: TestClient): 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 - 4.9K bytes - Click Count (0) -
tests/test_tutorial/test_extra_data_types/test_tutorial001.py
assert response.json() == expected_response def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.6K bytes - Click Count (0)