- Sort Score
- Result 10 results
- Languages All
Results 981 - 990 of 1,775 for gson (0.04 sec)
-
docs/sts/web-identity.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json import logging import urllib from uuid import uuid4 import boto3 import requests from botocore.client import Config from flask import Flask, request boto3.set_stream_logger('boto3.resources', logging.DEBUG) authorize_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/auth" token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/response-directly.md
By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}. Then, behind the scenes, it would put that JSON-compatible data (e.g. a `dict`) inside of a `JSONResponse` that would be used to send the response to the client.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3.1K bytes - Viewed (0) -
internal/bucket/replication/sourceselectioncriteria.go
type ReplicaModifications struct { Status Status `xml:"Status" json:"Status"` } // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration. type SourceSelectionCriteria struct { ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"` } // IsValid - checks whether SourceSelectionCriteria is valid or not.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.5K bytes - Viewed (0) -
tests/test_dependency_paramless.py
assert response.status_code == 200, response.text assert response.json() == {"token": "token", "scopes": ["a", "b"]} def test_parameterless_with_scopes(): response = client.get( "/parameterless-with-scopes", headers={"authorization": "Bearer token"} ) assert response.status_code == 200, response.text assert response.json() == {"status": "ok"} def test_parameterless_without_scopes():Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
README.md
import org.codelibs.curl.CurlResponse; try (CurlResponse response = Curl.get("https://example.com") .param("q", "curl4j") .header("Accept", "application/json") .execute()) { System.out.println("Status: " + response.getHttpStatusCode()); System.out.println(response.getContentAsString()); } ``` ### Asynchronous request ```java
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
{* ../../docs_src/body_nested_models/tutorial005.py hl[4,10] *} 이 문자열이 유효한 URL인지 검사하고 JSON 스키마/OpenAPI로 문서화 됩니다. ## 서브모델 리스트를 갖는 어트리뷰트 `list`, `set` 등의 서브타입으로 Pydantic 모델을 사용할 수도 있습니다: {* ../../docs_src/body_nested_models/tutorial006.py hl[20] *} 아래와 같은 JSON 본문으로 예상(변환, 검증, 문서화 등을)합니다: ```JSON hl_lines="11" { "name": "Foo", "description": "The pretender", "price": 42.0,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/zh/docs/how-to/general.md
## 文档弃用**路径操作** - OpenAPI 在文档界面中显示弃用的**路径操作**,请阅读 [教程 - 路径操作配置 - 弃用](../tutorial/path-operation-configuration.md#deprecate-a-path-operation){.internal-link target=_blank} 文档。 ## 将任何数据转换为 JSON 兼容格式 要将任何数据转换为 JSON 兼容格式,请阅读 [教程 - JSON 兼容编码器](../tutorial/encoder.md){.internal-link target=_blank} 文档。 ## OpenAPI 元数据 - 文档 要添加 OpenAPI 的元数据,包括许可证、版本、联系方式等,请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md){.internal-link target=_blank} 文档。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Apr 22 23:41:09 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/pt/docs/how-to/conditional-openapi.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/ru/docs/advanced/generate-clients.md
Но для сгенерированного клиента мы можем **модифицировать** ID операций OpenAPI непосредственно перед генерацией клиентов, чтобы сделать имена методов более приятными и **чистыми**. Мы можем скачать OpenAPI JSON в файл `openapi.json`, а затем **убрать этот префикс‑тег** таким скриптом: {* ../../docs_src/generate_clients/tutorial004_py39.py *} //// tab | Node.js ```Javascript {!> ../../docs_src/generate_clients/tutorial004.js!}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
/** * Retrieves key match settings with pagination. * * @param body the search parameters for filtering and pagination * @return JSON response containing key match settings list */ // GET /api/admin/keymatch/settings // PUT /api/admin/keymatch/settings @Execute public JsonResponse<ApiResult> settings(final SearchBody body) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0)