-
Bug
-
Resolution: Unresolved
-
Medium
-
6.0.7, 7.0.3
-
Compile last version of transportpce-master branch (for example this change https://git.opendaylight.org/gerrit/c/transportpce/+/110946 relying on netconf-7.0.3)
start karaf
test the openapi url: http://localhost:8181/openapi/explorer/index.html
Swagger / Openapi does not fully work for TransportPCE when we select the "Controller resource - Restconf RFC 8040".
Some errors appared:
Parser error - duplicated mapping key Unable to render this definition The provided definition does not specify a valid version field. Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.x.y (for example, openapi: 3.1.0).
On karaf, nothing specific even in debug mode, just the following lines:
15:16:52.326 INFO [qtp1838196557-921] Authentication is now enabled 15:16:52.327 INFO [qtp1838196557-921] Authentication Manager activated 15:16:53.047 WARN [qtp1838196557-939] A provider org.opendaylight.restconf.openapi.impl.OpenApiServiceImpl registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.opendaylight.restconf.openapi.impl.OpenApiServiceImpl will be ignored.
- is blocked by
-
NETCONF-1269 OpenAPI: Missing action input and output
- Resolved
-
NETCONF-1270 OpenAPI: not used "duplicated" schema
- In Review