com.github.kongchen.swagger.docgen.EnhancedSwaggerModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-maven-plugin
Show all versions of swagger-maven-plugin
A maven build plugin which helps you generate API document during build phase
package com.github.kongchen.swagger.docgen;
import com.fasterxml.jackson.databind.module.SimpleModule;
public class EnhancedSwaggerModule extends SimpleModule {
private static final long serialVersionUID = 1L;
public EnhancedSwaggerModule() {
super("1.0.0");
}
@Override
public void setupModule(SetupContext context) {
super.setupModule(context);
context.insertAnnotationIntrospector(new EnhancedSwaggerAnnotationIntrospector());
}
}