- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 59 for get$setting (0.1 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java
.status(ApiResult.Status.OK).result()); } // 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() .setting(stopwordsService.getStopwordsItem(dictId, id).map(entity -> createEditBody(entity, dictId)).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/fileconfig/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(fileConfigService.getFileConfig(id).map(this::createEditBody).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/fileauth/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(fileAuthService.getFileAuthentication(id).map(this::createEditBody).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/dataconfig/setting/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { return asJson(new ApiConfigResponse().setting(dataConfigService.getDataConfig(id).map(this::createEditBody).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
.status(ApiResult.Status.OK).result()); } // GET /api/admin/dict/synonym/setting/{dictId}/{id} @Execute public JsonResponse<ApiResult> get$setting(final String dictId, final long id) { return asJson(new ApiResult.ApiConfigResponse() .setting(synonymService.getSynonymItem(dictId, id).map(entity -> createEditBody(entity, dictId)).orElseGet(() -> {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/badword/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { final BadWord entity = badWordService.getBadWord(id).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
.total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result()); } // GET /api/admin/elevateword/{id} @Execute public JsonResponse<ApiResult> get$setting(final String id) { final ElevateWord entity = elevateWordService.getElevateWord(id).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
assertTrue(nameList.contains(name), name); } List<String> idList = getIdList(searchBody); idList.forEach(id -> { // Test: get setting api checkGetMethod(searchBody, getItemEndpointSuffix() + "/" + id).then() .body("response." + getItemEndpointSuffix() + "." + getIdKey(), equalTo(id))
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.1K bytes - Viewed (0) -
docs_src/settings/app03_an_py39/main.py
from fastapi import Depends, FastAPI from typing_extensions import Annotated from . import config app = FastAPI() @lru_cache def get_settings(): return config.Settings() @app.get("/info") async def info(settings: Annotated[config.Settings, Depends(get_settings)]): return { "app_name": settings.app_name, "admin_email": settings.admin_email, "items_per_user": settings.items_per_user,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 462 bytes - Viewed (0) -
docs_src/settings/app02_an/test_main.py
from fastapi.testclient import TestClient from .config import Settings from .main import app, get_settings client = TestClient(app) def get_settings_override(): return Settings(admin_email="******@****.***") app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 515 bytes - Viewed (0)