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

io.swagger.validator.ValidatorApplication Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package io.swagger.validator;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import io.swagger.validator.resources.ValidatorResource;

import java.util.HashSet;
import java.util.Set;

@ApplicationPath("/")
public class ValidatorApplication extends Application {

    @Override
    public Set> getClasses() {
        final Set> classes = new HashSet>();
        // register root resource
        classes.add(ValidatorResource.class);
        return classes;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy