- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 1,628 for ndjson (0.07 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java
/** * Returns specific path mapping setting by ID. * * @param id the path mapping setting ID * @return JSON response containing the path mapping setting details */ @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson( new ApiResult.ApiConfigResponse().setting(pathMappingService.getPathMapping(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java
/** * Returns specific related content setting by ID. * * @param id the related content setting ID * @return JSON response containing the related content setting details */ @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson( new ApiConfigResponse().setting(relatedContentService.getRelatedContent(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.4K bytes - Click Count (0) -
tests/test_default_response_class.py
from typing import Any import orjson from fastapi import APIRouter, FastAPI from fastapi.responses import HTMLResponse, JSONResponse, PlainTextResponse from fastapi.testclient import TestClient class ORJSONResponse(JSONResponse): media_type = "application/x-orjson" def render(self, content: Any) -> bytes: return orjson.dumps(content) class OverrideResponse(JSONResponse): media_type = "application/x-override"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 20:49:20 GMT 2020 - 5.2K bytes - Click Count (0) -
docs/ru/docs/advanced/custom-response.md
Например, предположим, что вы хотите использовать [`orjson`](https://github.com/ijl/orjson) с некоторыми настройками. Скажем, вы хотите, чтобы возвращался отформатированный JSON с отступами, то есть хотите использовать опцию orjson `orjson.OPT_INDENT_2`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.6K bytes - Click Count (0) -
docs/uk/docs/advanced/custom-response.md
Наприклад, скажімо, ви хочете використовувати [`orjson`](https://github.com/ijl/orjson) з деякими налаштуваннями. Припустімо, ви хочете, щоб повертався відформатований із відступами JSON, тож ви хочете використати опцію orjson `orjson.OPT_INDENT_2`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webconfig/ApiAdminWebconfigAction.java
* * @param id the ID of the web configuration setting to retrieve * @return JSON response containing the web configuration setting */ // GET /api/admin/webconfig/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(webConfigService.getWebConfig(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java
* * @param id the ID of the request header setting to retrieve * @return JSON response containing the request header setting */ // GET /api/admin/reqheader/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(reqHeaderService.getRequestHeader(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java
* * @param id the ID of the web authentication setting to retrieve * @return JSON response containing the web authentication setting */ // GET /api/admin/webauth/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(webAuthService.getWebAuthentication(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
* @param id the ID of the stopwords item to retrieve * @return JSON response containing the stopwords dictionary item */ // GET /api/admin/dict/stopwords/setting/{dictId}/{id} @Execute public JsonResponse<ApiResult> get$setting(final String dictId, final long id) { return asJson(new ApiResult.ApiConfigResponse()Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java
/** * Returns specific duplicate host setting by ID. * * @param id the duplicate host setting ID * @return JSON response containing the duplicate host setting details */ @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(duplicateHostService.getDuplicateHost(id).map(this::createEditBody).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8.3K bytes - Click Count (0)