Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f99eae

Browse files
authored
Merge pull requestlowcoder-org#1156 from lowcoder-org/fix/hideapi
Hide flow api from swagger
2 parentsf55fb7f +aa6a9f6 commit9f99eae

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

‎server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/misc/ApiFlowEndpoints.java‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
packageorg.lowcoder.api.misc;
22

3-
importcom.fasterxml.jackson.annotation.JsonProperty;
4-
importio.swagger.v3.oas.annotations.Operation;
5-
importjakarta.annotation.Nullable;
3+
importio.swagger.v3.oas.annotations.Hidden;
64
importorg.lowcoder.infra.constant.NewUrl;
75
importorg.lowcoder.infra.constant.Url;
86
importorg.springframework.web.bind.annotation.PostMapping;
@@ -17,14 +15,7 @@
1715
@RequestMapping(value = {Url.FLOW_URL,NewUrl.FLOW_URL})
1816
publicinterfaceApiFlowEndpoints
1917
{
20-
StringTAG_SERVER_SETTING_MANAGEMENT ="Flow APIs";
21-
22-
@Operation(
23-
tags =TAG_SERVER_SETTING_MANAGEMENT,
24-
operationId ="flow",
25-
summary ="Call flow api",
26-
description ="Call flow api."
27-
)
18+
@Hidden
2819
@PostMapping
2920
Mono<String>flow(@RequestBodyFlowRequestflowRequest);
3021
publicrecordFlowRequest(Stringpath,

‎server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/npm/PrivateNpmRegistryEndpoint.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public interface PrivateNpmRegistryEndpoint {
2121
summary ="Get NPM registry Metadata",
2222
description ="Retrieve the metadata of private NPM registry package within Lowcoder."
2323
)
24-
@GetMapping("/registry/{name}")
24+
// @GetMapping("/registry/{name}")
2525
publicMono<ResponseEntity<Resource>>getNpmPackageMeta(@PathVariableStringname);
2626

2727
@Operation(
@@ -30,6 +30,6 @@ public interface PrivateNpmRegistryEndpoint {
3030
summary ="Get NPM registry asset",
3131
description ="Retrieve the asset of private NPM registry package within Lowcoder."
3232
)
33-
@GetMapping("/package/{path}")
33+
// @GetMapping("/package/{path}")
3434
publicMono<ResponseEntity<Resource>>getNpmPackageAsset(@PathVariableStringpath);
3535
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp