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

com.github.kongchen.swagger.docgen.reader.ServletReader Maven / Gradle / Ivy

The newest version!
package com.github.kongchen.swagger.docgen.reader;

import java.util.Set;

import org.apache.maven.plugin.logging.Log;

import com.github.kongchen.swagger.docgen.GenerateException;

import io.swagger.models.Swagger;
import io.swagger.servlet.Reader;

/**
 * A dedicated {@link ClassSwaggerReader} to scan Serlet classes.
 */
public class ServletReader extends AbstractReader implements ClassSwaggerReader {

    public ServletReader(Swagger swagger, Log LOG) {
        super(swagger, LOG);
    }

    @Override
    public Swagger read(Set> classes) throws GenerateException {
        Reader.read(swagger, classes );
        return swagger;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy