Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1279

openapi / swagger does not work for TransportPCE with controller resources

XMLWordPrintable

      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. 

       

            cicut Ľuboš Čičut
            gthouenon Gilles Thouenon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: