All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.swagger.jackson.SwaggerModule Maven / Gradle / Ivy

There is a newer version: 2.0.0-rc2
Show newest version
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