restdocs.tool.export.common.handler.ToolHandlers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of restdocs-tool-export Show documentation
Show all versions of restdocs-tool-export Show documentation
Generates AsciiDoc snippets via Spring Restdocs that are exports for Insomnia or Postman that can be download and imported.
package restdocs.tool.export.common.handler;
import restdocs.tool.export.insomnia.handler.InsomniaToolHandler;
import restdocs.tool.export.postman.handler.PostmanToolHandler;
public enum ToolHandlers {
INSOMNIA(InsomniaToolHandler.class),
POSTMAN(PostmanToolHandler.class);
private Class extends ToolHandler> handlerClass;
ToolHandlers(Class extends ToolHandler> handlerClass) {
this.handlerClass = handlerClass;
}
public Class extends ToolHandler> getHandlerClass() {
return handlerClass;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy