Class ApiDocServiceDraft02

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

    public class ApiDocServiceDraft02
    extends ApiDocServiceLightyImpl
    • Constructor Detail

      • ApiDocServiceDraft02

        public ApiDocServiceDraft02​(org.opendaylight.netconf.sal.rest.doc.impl.MountPointSwaggerGeneratorDraft02 mountPointSwaggerGeneratorDraft02,
                                    org.opendaylight.netconf.sal.rest.doc.impl.ApiDocGeneratorDraftO2 apiDocGeneratorDraft02)
    • 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.