<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springdoc</groupId>
+ <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
+ </dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-server</artifactId>
<dependencyManagement>
<dependencies>
<!-- S P R I N G D E P E N D E N C I E S -->
+ <dependency>
+ <groupId>org.springdoc</groupId>
+ <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
+ <version>2.0.2</version>
+ </dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<phase>compile</phase>
<configuration>
<inputSpec>${project.basedir}/docs/openapi/openapi-inventory.yml</inputSpec>
- <generatorName>spring</generatorName>
+ <generatorName>openapi-yaml</generatorName>
<configOptions>
<outputFile>openapi-inventory.yaml</outputFile>
- <useSpringBoot3>true</useSpringBoot3>
</configOptions>
</configuration>
</execution>
# ============LICENSE_START=======================================================
# Copyright (c) 2021-2022 Bell Canada.
-# Modifications Copyright (C) 2021-2022 Nordix Foundation
+# Modifications Copyright (C) 2021-2023 Nordix Foundation
# Modifications Copyright (C) 2022-2023 TechMahindra Ltd.
# Modifications Copyright (C) 2022 Deutsche Telekom AG
# ================================================================================
type: string
description: multipartFile
format: binary
- example: 'https://github.com/onap/cps/blob/master/cps-service/src/test/resources/bookstore.yang'
ModuleReferences:
type: object
properties:
file:
description: multipartFile
- example: !!binary |-
- aHR0cHM6Ly9naXRodWIuY29tL29uYXAvY3BzL2Jsb2IvbWFzdGVyL2Nwcy1zZXJ2aWNlL3NyYy90
- ZXN0L3Jlc291cmNlcy9ib29rc3RvcmUueWFuZw==
format: binary
type: string
required:
moduleSetTag: my-module-set-tag
dmiPlugin: my-dmi-plugin
dmiModelPlugin: my-dmi-model-plugin
+ upgradedCmHandles:
+ cmHandles:
+ - my-cm-handle1
+ - my-cm-handle2
+ - my-cm-handle3
+ moduleSetTag: my-module-set-tag
dmiDataPlugin: my-dmi-data-plugin
removedCmHandles:
- my-cm-handle1
items:
type: string
type: array
+ upgradedCmHandles:
+ $ref: '#/components/schemas/UpgradedCmHandles'
type: object
RestInputCmHandle:
example:
example: my-property
type: string
type: object
+ UpgradedCmHandles:
+ example:
+ cmHandles:
+ - my-cm-handle1
+ - my-cm-handle2
+ - my-cm-handle3
+ moduleSetTag: my-module-set-tag
+ properties:
+ cmHandles:
+ example:
+ - my-cm-handle1
+ - my-cm-handle2
+ - my-cm-handle3
+ items:
+ type: string
+ type: array
+ moduleSetTag:
+ example: my-module-set-tag
+ type: string
+ required:
+ - cmHandles
+ type: object
ErrorMessage:
properties:
status:
items:
$ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
type: array
+ failedUpgradeCmHandles:
+ items:
+ $ref: '#/components/schemas/CmHandlerRegistrationErrorResponse'
+ type: array
type: object
CmHandlerRegistrationErrorResponse:
properties: