- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,665 for jason (0.01 sec)
-
tests/test_tutorial/test_query_params/test_tutorial003.py
response = client.get(path) assert response.status_code == 200 assert response.json() == expected_json def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0) -
tests/test_tutorial/test_extra_models/test_tutorial004.py
assert response.json() == [ {"name": "Foo", "description": "There comes my hero"}, {"name": "Red", "description": "It's my aeroplane"}, ] 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",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/ko/docs/how-to/conditional-openapi.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Nov 07 20:41:38 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/ru/docs/alternatives.md
Он плохо справляется с вложенными моделями. Если JSON-тело запроса — это объект JSON, содержащий внутренние поля, которые сами являются вложенными объектами JSON, это нельзя как следует задокументировать и провалидировать. /// check | Вдохновило **FastAPI** на Использовать типы Python для отличной поддержки в редакторе кода.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 38.5K bytes - Viewed (0) -
docs/es/docs/advanced/path-operation-advanced-configuration.md
Y podrías hacer esto incluso si el tipo de datos en el request no es JSON. Por ejemplo, en esta aplicación no usamos la funcionalidad integrada de FastAPI para extraer el JSON Schema de los modelos Pydantic ni la validación automática para JSON. De hecho, estamos declarando el tipo de contenido del request como YAML, no JSON: //// tab | Pydantic v2
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.3K bytes - Viewed (0) -
docs/pt/docs/advanced/path-operation-advanced-configuration.md
E você pode fazer isso até mesmo quando os dados da requisição não seguem o formato JSON.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py
"not used parameters should not be included" ) assert '"syntaxHighlight": {"theme": "obsidian"}' in response.text, ( "parameters with middle dots should be included in a JSON compatible way" ) assert '"dom_id": "#swagger-ui"' in response.text, ( "default configs should be preserved" ) assert "presets: [" in response.text, "default configs should be preserved"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.5K bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
response = client.get(path) assert response.status_code == 200 assert response.json() == expected_json def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.3K bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py
def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert '"syntaxHighlight": false' in response.text, ( "syntaxHighlight should be included and converted to JSON" ) assert '"dom_id": "#swagger-ui"' in response.text, ( "default configs should be preserved" ) assert "presets: [" in response.text, "default configs should be preserved"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
tests/test_param_in_path_and_dependency.py
def test_read_users(): response = client.get("/users/42") assert response.status_code == 200, response.text def test_openapi_schema(): response = client.get("/openapi.json") data = response.json() assert data == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/{user_id}": { "get": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0)