Skip to content

Commit cd31ef2

Browse files
committed
fix(e2e): update of openapi inheritance for portal navigation items
1 parent 00b0651 commit cd31ef2

File tree

1 file changed

+5
-10
lines changed
  • gravitee-apim-rest-api/gravitee-apim-rest-api-portal/gravitee-apim-rest-api-portal-rest/src/main/resources

1 file changed

+5
-10
lines changed

gravitee-apim-rest-api/gravitee-apim-rest-api-portal/gravitee-apim-rest-api-portal-rest/src/main/resources/portal-openapi.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6304,10 +6304,6 @@ components:
63046304
title:
63056305
type: string
63066306
description: The title of the navigation item
6307-
type:
6308-
type: string
6309-
description: The type of the navigation item
6310-
enum: [PAGE, FOLDER, LINK]
63116307
area:
63126308
$ref: "#/components/schemas/PortalArea"
63136309
parentId:
@@ -6317,12 +6313,6 @@ components:
63176313
type: integer
63186314
description: The order of the navigation item
63196315
required: [id, organizationId, environmentId, title, type, area, order]
6320-
discriminator:
6321-
propertyName: type
6322-
mapping:
6323-
PAGE: "#/components/schemas/PortalNavigationPage"
6324-
FOLDER: "#/components/schemas/PortalNavigationFolder"
6325-
LINK: "#/components/schemas/PortalNavigationLink"
63266316
PortalNavigationPage:
63276317
allOf:
63286318
- $ref: "#/components/schemas/BasePortalNavigationItem"
@@ -6343,6 +6333,11 @@ components:
63436333
description: The URL for the link
63446334
required: [url]
63456335
PortalNavigationItem:
6336+
properties:
6337+
type:
6338+
type: string
6339+
description: The type of the navigation item
6340+
enum: [PAGE, FOLDER, LINK]
63466341
oneOf:
63476342
- $ref: "#/components/schemas/PortalNavigationPage"
63486343
- $ref: "#/components/schemas/PortalNavigationFolder"

0 commit comments

Comments
 (0)