Class ApiDocServiceRFC8040

  • All Implemented Interfaces:
    org.opendaylight.netconf.sal.rest.doc.api.ApiDocService

    public class ApiDocServiceRFC8040
    extends ApiDocServiceLightyImpl
    • Constructor Detail

      • ApiDocServiceRFC8040

        public ApiDocServiceRFC8040​(org.opendaylight.netconf.sal.rest.doc.impl.MountPointSwaggerGeneratorRFC8040 mountPointSwaggerGeneratorRFC8040,
                                    org.opendaylight.netconf.sal.rest.doc.impl.ApiDocGeneratorRFC8040 apiDocGeneratorRFC8040)
    • Method Detail

      • getRootDoc

        public javax.ws.rs.core.Response getRootDoc​(javax.ws.rs.core.UriInfo uriInfo)
        Generates index document for Swagger UI. This document lists out all modules with link to get APIs for each module. The API for each module is served by getDocByModule() method.
      • getDocByModule

        public javax.ws.rs.core.Response getDocByModule​(String module,
                                                        String revision,
                                                        javax.ws.rs.core.UriInfo uriInfo)
        Generates Swagger compliant document listing APIs for module.
      • getApiExplorer

        public javax.ws.rs.core.Response getApiExplorer​(javax.ws.rs.core.UriInfo uriInfo)
        Redirects to embedded swagger ui.