- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 1,775 for gson (0.09 sec)
-
.teamcity/scripts/update_wrapper_and_create_pr.sh
post() { local endpoint="$1" local data="$2" local response=$(curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ -H "Content-Type: application/json" \ "https://api.github.com/repos/gradle/gradle$endpoint" \ -d "$data" \ -w "\n%{http_code}" \ 2>/dev/null) local http_code=$(echo "$response" | tail -n1)Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 29 03:20:20 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} } /** * Escapes a JSON key-value pair. * @param key The key. * @param value The value. * @return The escaped key-value pair. */ protected String escapeJsonKeyValue(final String key, final String value) { return "\"" + key + "\":" + escapeJson(value); } /** * Writes a JSON response. * @param status The status code.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
tests/test_tutorial/test_cors/test_tutorial001.py
assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"} assert ( response.headers["access-control-allow-origin"] == "https://localhost.tiangolo.com" ) # Test non-CORS response response = client.get("/") assert response.status_code == 200, response.text assert response.json() == {"message": "Hello World"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-fields.md
/// ## Добавление дополнительной информации { #add-extra-information } Вы можете объявлять дополнительную информацию в `Field`, `Query`, `Body` и т.п. Она будет включена в сгенерированную JSON схему. Вы узнаете больше о добавлении дополнительной информации позже в документации, когда будете изучать, как задавать примеры. /// warning | ВниманиеRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-forms.md
/// info | 정보 `Form`은 `Body`에서 직접 상속되는 클래스입니다. /// /// tip | 팁 폼 본문을 선언할 때, 폼이 없으면 매개변수가 쿼리 매개변수나 본문(JSON) 매개변수로 해석(interpret)되기 때문에 `Form`을 명시적으로 사용해야 합니다. /// ## "폼 필드"에 대해 HTML 폼(`<form></form>`)이 데이터를 서버로 보내는 방식은 일반적으로 해당 데이터에 대해 "특수" 인코딩을 사용하며, 이는 JSON과 다릅니다. **FastAPI**는 JSON 대신 올바른 위치에서 해당 데이터를 읽습니다. /// note | 기술 세부사항
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:42:55 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java
/** * Retrieves label type settings with pagination. * * @param body the search parameters for filtering and pagination * @return JSON response containing label type settings list */ // GET /api/admin/labeltype/settings // PUT /api/admin/labeltype/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 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
// GET /api/admin/storage/list/{id} // PUT /api/admin/storage/list/{id} /** * Lists files and directories in storage. * @param id The ID of the directory to list. * @return A JSON response containing the list of files and directories. */ @Execute public JsonResponse<ApiResult> list(final OptionalThing<String> id) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
} // Details for the measured bandwidth type Details struct { LimitInBytesPerSecond int64 `json:"limitInBits"` CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"` } // BucketBandwidthReport captures the details for all buckets. type BucketBandwidthReport struct { BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"` } // GetReport gets the report for all bucket bandwidth details.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
/** * Searches for documents in the search index. * * @param body the search parameters for querying documents * @return JSON response containing search results */ // GET /api/admin/searchlist/docs // PUT /api/admin/searchlist/docs @Execute public JsonResponse<ApiResult> docs(final SearchBody body) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.2K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。 *path operation関数* から返されるコンテンツは、その `Response` に含まれます。 そしてもし、`Response` が、`JSONResponse` や `UJSONResponse` の場合のようにJSONメディアタイプ (`application/json`) ならば、データは *path operationデコレータ* に宣言したPydantic `response_model` により自動的に変換 (もしくはフィルタ) されます。 /// note | 備考 メディアタイプを指定せずにレスポンスクラスを利用すると、FastAPIは何もコンテンツがないことを期待します。そのため、生成されるOpenAPIドキュメントにレスポンスフォーマットが記載されません。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.4K bytes - Viewed (0)