- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,922 for djson (0.08 seconds)
-
cmd/bucket-policy-handlers.go
package cmd import ( "bytes" "encoding/json" "io" "net/http" humanize "github.com/dustin/go-humanize" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/logger" "github.com/minio/mux" "github.com/minio/pkg/v3/policy" ) const ( // As per AWS S3 specification, 20KiB policy JSON data is allowed. maxBucketPolicySize = 20 * humanize.KiByte
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 6.1K bytes - Click Count (0) -
docs/de/docs/advanced/openapi-callbacks.md
``` https://www.external.org/events/invoices/2expen51ve ``` mit einem JSON-Body, der etwa Folgendes enthält: ```JSON { "description": "Payment celebration", "paid": true } ``` und sie würde eine Response von dieser *externen API* mit einem JSON-Body wie dem folgenden erwarten: ```JSON { "ok": true } ``` /// tip | TippCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/es/docs/advanced/openapi-callbacks.md
``` con un JSON body de: ```JSON { "id": "2expen51ve", "customer": "Mr. Richie Rich", "total": "9999" } ``` luego *tu API* procesará la factura y, en algún momento después, enviará un request de callback al `callback_url` (la *API externa*): ``` https://www.external.org/events/invoices/2expen51ve ``` con un JSON body que contiene algo como: ```JSONCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 8K bytes - Click Count (0) -
docs/uk/docs/features.md
* Автоматична документація моделей даних за допомогою [**JSON Schema**](https://json-schema.org/) (оскільки OpenAPI базується саме на JSON Schema). * Розроблено на основі цих стандартів після ретельного аналізу, а не як додатковий рівень поверх основної архітектури.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 15.1K bytes - Click Count (0) -
docs/zh/docs/tutorial/body.md
与声明查询参数一样,包含默认值的模型属性是可选的,否则就是必选的。把默认值设为 `None` 可使其变为可选。 例如,上述模型声明如下 JSON "object"(即 Python `dict`): ```JSON { "name": "Foo", "description": "An optional description", "price": 45.2, "tax": 3.5 } ``` ...由于 `description` 和 `tax` 是可选的(默认值为 `None`),下面的 JSON "object" 也有效: ```JSON { "name": "Foo", "price": 45.2 } ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 5.9K bytes - Click Count (0) -
cmd/data-usage.go
package cmd import ( "context" "errors" "strings" "time" jsoniter "github.com/json-iterator/go" "github.com/minio/minio/internal/cachevalue" ) const ( dataUsageRoot = SlashSeparator dataUsageBucket = minioMetaBucket + SlashSeparator + bucketMetaPrefix dataUsageObjName = ".usage.json" dataUsageObjNamePath = bucketMetaPrefix + SlashSeparator + dataUsageObjName
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu May 09 00:51:34 GMT 2024 - 5.6K bytes - Click Count (0) -
fastapi/param_functions.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 68K bytes - Click Count (0) -
docs_src/dependency_testing/tutorial001_py310.py
response = client.get("/items/") assert response.status_code == 200 assert response.json() == { "message": "Hello Items!", "params": {"q": None, "skip": 5, "limit": 10}, } def test_override_in_items_with_q(): response = client.get("/items/?q=foo") assert response.status_code == 200 assert response.json() == { "message": "Hello Items!",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 1.4K bytes - Click Count (0) -
tests/test_custom_schema_fields.py
def test_custom_response_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json()["components"]["schemas"]["Item"] == item_schema def test_response(): # For coverage response = client.get("/foo") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.3K bytes - Click Count (0) -
tests/test_openapi_servers.py
def test_app(): response = client.get("/foo") assert response.status_code == 200, response.text def test_openapi_schema(): 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"}, "servers": [
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.7K bytes - Click Count (0)