Skip to content

Commit 5fd522e

Browse files
committed
Address review comments
1 parent f0e4be2 commit 5fd522e

File tree

3 files changed

+8
-6
lines changed
  • components/apimgt

3 files changed

+8
-6
lines changed

components/apimgt/org.wso2.carbon.apimgt.rest.api.common/src/main/resources/publisher-api.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14345,7 +14345,7 @@ components:
1434514345
type: string
1434614346
example: PizzaShack API
1434714347
description: |
14348-
Display name of the MCP API.
14348+
Display name of the MCP Server.
1434914349
This is the name that will be displayed in the Publisher and DevPortal.
1435014350
If not provided, the name will be used as the display name.
1435114351
version:
@@ -17398,7 +17398,8 @@ components:
1739817398
title: API Definition Search Result
1739917399
allOf:
1740017400
- $ref: '#/components/schemas/SearchResult'
17401-
- properties:
17401+
- type: object
17402+
properties:
1740217403
apiDisplayName:
1740317404
description: Human-friendly name shown in UI for associated API. Length limited to DB column size.
1740417405
type: string

components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1.common/src/gen/java/org/wso2/carbon/apimgt/rest/api/publisher/v1/dto/MCPServerMetadataDTO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ public void setName(String name) {
6161
}
6262

6363
/**
64-
* Display name of the MCP API. This is the name that will be displayed in the Publisher and DevPortal. If not provided, the name will be used as the display name.
64+
* Display name of the MCP Server. This is the name that will be displayed in the Publisher and DevPortal. If not provided, the name will be used as the display name.
6565
**/
6666
public MCPServerMetadataDTO displayName(String displayName) {
6767
this.displayName = displayName;
6868
return this;
6969
}
7070

7171

72-
@ApiModelProperty(example = "PizzaShack API", value = "Display name of the MCP API. This is the name that will be displayed in the Publisher and DevPortal. If not provided, the name will be used as the display name. ")
72+
@ApiModelProperty(example = "PizzaShack API", value = "Display name of the MCP Server. This is the name that will be displayed in the Publisher and DevPortal. If not provided, the name will be used as the display name. ")
7373
@JsonProperty("displayName")
7474
public String getDisplayName() {
7575
return displayName;

components/apimgt/org.wso2.carbon.apimgt.rest.api.publisher.v1/src/main/resources/publisher-api.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14345,7 +14345,7 @@ components:
1434514345
type: string
1434614346
example: PizzaShack API
1434714347
description: |
14348-
Display name of the MCP API.
14348+
Display name of the MCP Server.
1434914349
This is the name that will be displayed in the Publisher and DevPortal.
1435014350
If not provided, the name will be used as the display name.
1435114351
version:
@@ -17398,7 +17398,8 @@ components:
1739817398
title: API Definition Search Result
1739917399
allOf:
1740017400
- $ref: '#/components/schemas/SearchResult'
17401-
- properties:
17401+
- type: object
17402+
properties:
1740217403
apiDisplayName:
1740317404
description: Human-friendly name shown in UI for associated API. Length limited to DB column size.
1740417405
type: string

0 commit comments

Comments
 (0)