- Sort Score
- Num 10 results
- Language All
Results 1581 - 1590 of 1,923 for json$ (0.09 seconds)
-
docs/zh/docs/tutorial/response-model.md
FastAPI 会使用这个返回类型来: * 对返回数据进行**校验**。 * 如果数据无效(例如缺少某个字段),这意味着你的应用代码有问题,没有返回应有的数据,FastAPI 将返回服务器错误而不是返回错误的数据。这样你和你的客户端都可以确定会收到期望的数据及其结构。 * 在 OpenAPI 的*路径操作*中为响应添加**JSON Schema**。 * 它会被**自动文档**使用。 * 它也会被自动客户端代码生成工具使用。 * 使用 Pydantic 将返回数据**序列化**为 JSON。Pydantic 使用**Rust**编写,因此会**快很多**。 但更重要的是: * 它会将输出数据**限制并过滤**为返回类型中定义的内容。 * 这对**安全性**尤为重要,下面会进一步介绍。 ## `response_model` 参数 { #response-model-parameter }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
docs/tr/docs/_llm-test.md
* API dokümanları * otomatik dokümanlar * Veri Bilimi * Deep Learning * Machine Learning * Dependency Injection * HTTP Basic authentication * HTTP Digest * ISO formatı * JSON Schema standardı * JSON schema * schema tanımı * Password Flow * Mobil * deprecated * designed * invalid * on the fly * standard * default * case-sensitive * case-insensitive
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
.gitignore
minio !*/ site/ **/*.test **/*.sublime-workspace /.idea/ /Minio.iml **/access.log vendor/ .DS_Store *.syso coverage.txt .vscode/ *.tar.bz2 parts/ prime/ stage/ .sia_temp/ config.json node_modules/ mc.* s3-check-md5* xl-meta* healing-* inspect*.zip 200M* hash-set minio.RELEASE* mc nancy inspects/* .bin/ *.gz docs/debugging/s3-verify/s3-verify
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 802 bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.29.md
- github.com/envoyproxy/protoc-gen-validate: [v0.9.1 → v1.0.2](https://github.com/envoyproxy/protoc-gen-validate/compare/v0.9.1...v1.0.2) - github.com/evanphx/json-patch: [v5.6.0+incompatible → v4.12.0+incompatible](https://github.com/evanphx/json-patch/compare/v5.6.0...v4.12.0) - github.com/fsnotify/fsnotify: [v1.6.0 → v1.7.0](https://github.com/fsnotify/fsnotify/compare/v1.6.0...v1.7.0)
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Mar 12 00:36:01 GMT 2025 - 429.6K bytes - Click Count (1) -
tests/test_callable_endpoint.py
endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 426 bytes - Click Count (0) -
docs/zh/docs/how-to/extending-openapi.md
在某些情况下,你可能需要修改生成的 OpenAPI 架构(schema)。 本节将介绍如何实现。 ## 常规流程 { #the-normal-process } 常规(默认)流程如下。 `FastAPI` 应用(实例)有一个 `.openapi()` 方法,预期返回 OpenAPI 架构。 在创建应用对象时,会注册一个用于 `/openapi.json`(或你在 `openapi_url` 中设置的路径)的路径操作。 它只会返回一个 JSON 响应,内容是应用 `.openapi()` 方法的结果。 默认情况下,`.openapi()` 方法会检查属性 `.openapi_schema` 是否已有内容,若有则直接返回。 如果没有,则使用 `fastapi.openapi.utils.get_openapi` 工具函数生成。 该 `get_openapi()` 函数接收以下参数:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3K bytes - Click Count (0) -
docs/tr/docs/tutorial/query-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.9K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001_01.py
assert response.headers["location"] == "https://example.com/items/" def test_no_redirect() -> None: response = client.get("/items/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 545 bytes - Click Count (0) -
docs/ru/docs/tutorial/metadata.md
## URL-адрес OpenAPI { #openapi-url } По умолчанию схема OpenAPI отображена по адресу `/openapi.json`. Но вы можете изменить это с помощью параметра `openapi_url`. К примеру, чтобы задать её отображение по адресу `/api/v1/openapi.json`: {* ../../docs_src/metadata/tutorial002_py310.py hl[3] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 9.2K bytes - Click Count (0)