Package com.knappsack.swagger4springweb.parser

Examples of com.knappsack.swagger4springweb.parser.ApiParserImpl


        if (documentation == null || (filters != null && !filters.isEmpty())) {
            String servletPath = null;
            if (request != null) {
                servletPath = request.getServletPath();
            }
            ApiParser apiParser = new ApiParserImpl(apiInfo, authorizationTypes, getControllerPackages(), getBasePath(),
                    servletPath, apiVersion, ignorableAnnotations, ignoreUnusedPathVariables, filters);
            documentation = apiParser.createApiListings();
        }
        return documentation;
    }
View Full Code Here


            String servletPath = null;
            if (request != null) {
                servletPath = request.getServletPath();
                servletPath = servletPath.replace("/resourceList", "");
            }
            ApiParser apiParser = new ApiParserImpl(apiInfo, authorizationTypes, getControllerPackages(), getBasePath(),
                    servletPath, apiVersion, ignorableAnnotations, ignoreUnusedPathVariables, filters);
            resourceList = apiParser.getResourceListing(getDocs(request));
        }
        return resourceList;
    }
View Full Code Here

    private ApiParser createApiParser() {
        return createApiParser(Arrays.asList(BASE_CONTROLLER_PACKAGE));
    }

    private ApiParser createApiParser(List<String> controllerPackages) {
        return new ApiParserImpl(API_INFO, AUTHORIZATION_TYPES, controllerPackages, "http://localhost:8080/api", "/api", "v1",
                new ArrayList<String>(), true, null);
    }
View Full Code Here

TOP

Related Classes of com.knappsack.swagger4springweb.parser.ApiParserImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.