- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 44 for get_item (0.1 sec)
-
docs/zh/docs/advanced/generate-clients.md
我们可以将 OpenAPI JSON 下载到一个名为`openapi.json`的文件中,然后使用以下脚本**删除此前缀的标签**: ```Python {!../../docs_src/generate_clients/tutorial004.py!} ``` 通过这样做,操作ID将从类似于 `items-get_items` 的名称重命名为 `get_items` ,这样客户端生成器就可以生成更简洁的方法名称。 ### 使用预处理的OpenAPI生成TypeScript客户端 现在,由于最终结果保存在文件openapi.json中,你可以修改 package.json 文件以使用此本地文件,例如: ```JSON hl_lines="7" { "name": "frontend-app",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java
scm.setDeveloperConnection(normalize(scm.getDeveloperConnection())); } DistributionManagement dist = model.getDistributionManagement(); if (dist != null) { Site site = dist.getSite(); if (site != null) { site.setUrl(normalize(site.getUrl())); } } } private String normalize(String url) { return urlNormalizer.normalize(url);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
} if (url.equals(originalUrl)) { return getFessConfig().getCrawlerDocumentUnknownHostname(); } return url; } default String getSite(final String u, final String encoding) { if (StringUtil.isBlank(u)) { return StringUtil.EMPTY; // empty } String url = u; int idx = url.indexOf("://");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.5K bytes - Viewed (0) -
tests/test_extra_routes.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None @app.api_route("/items/{item_id}", methods=["GET"]) def get_items(item_id: str): return {"item_id": item_id} def get_not_decorated(item_id: str): return {"item_id": item_id} app.add_api_route("/items-not-decorated/{item_id}", get_not_decorated)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
crawlingConfigHelper.getPipeline(configId).ifPresent(s -> builder.setPipeline(s)); } }); return asJson(new ApiBulkResponse().items(Arrays.stream(response.getItems()).map(item -> { final Map<String, Object> itemMap = new HashMap<>(); itemMap.put("result", item.status().name()); if (item.isFailed()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 25 01:48:41 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js.map
own","mousedownInterval","clearInterval","setInterval","href","$headerMenuItem","$headerDropdownItem","$sidebarMenuItem","i","prevAll","tabEmpty","windowHeight","navbarHeight","contentWrapperHeight","parseFloat","localStorage","setItem","JSON","stringify","parse","getItem","SELECTOR_MAIN_SIDEBAR","SELECTOR_SIDEBAR","CLASS_NAME_SIDEBAR_FOCUSED","panelAutoHeight","panelAutoHeightMode","preloadDuration","loginRegisterAutoHeight","Layout","fixLayoutHeight","extra","controlSidebar","sidebar","max","_...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 132.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
}); if (response.hasFailures()) { if (logger.isDebugEnabled()) { final BulkItemResponse[] items = response.getItems(); if (docList.size() == items.length) { for (int i = 0; i < docList.size(); i++) { final BulkItemResponse resp = items[i];
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
final String value = url.replaceFirst("^smb.?:/+", StringUtil.EMPTY); return abbreviateSite("\\\\" + value.replace('/', '\\')); } return getSite(url, encoding); } @Override public Object getData(final AccessResultData<?> accessResultData) { final byte[] data = accessResultData.getData(); if (data != null) { try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
builderCall.callback(bulkBuilder); } final BulkResponse response = bulkBuilder.execute().actionGet(bulkTimeout); final BulkItemResponse[] itemResponses = response.getItems(); if (itemResponses.length != entityList.size()) { throw new IllegalStateException("Invalid response size: " + itemResponses.length + " != " + entityList.size()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0)