io.swagger.jackson.SwaggerModule Maven / Gradle / Ivy
package io.swagger.jackson;
import com.fasterxml.jackson.databind.module.SimpleModule;
public class SwaggerModule extends SimpleModule {
private static final long serialVersionUID = 1L;
/*
/**********************************************************
/* Life-cycle
/**********************************************************
*/
public SwaggerModule() {
super(PackageVersion.VERSION);
}
@Override
public void setupModule(SetupContext context) {
super.setupModule(context);
context.insertAnnotationIntrospector(new SwaggerAnnotationIntrospector());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy