Package org.amdatu.web.rest.doc

Examples of org.amdatu.web.rest.doc.ResponseMessages


        String opName = method.getName();
        String returnType = convertToSwaggerType(models, method.getReturnType());

        List<SwaggerParameter> params = documentParameters(models, method);

        ResponseMessages responseMessages = findAnnotation(ResponseMessages.class, annotations);
        List<SwaggerResponseMessage> rms = null;
        if (responseMessages != null && responseMessages.value() != null) {
            rms = new ArrayList<SwaggerResponseMessage>();
            for (ResponseMessage responseMessage : responseMessages.value()) {
                rms.add(new SwaggerResponseMessage(responseMessage.code(), responseMessage.message()));
            }
        }

        String doc = getDescription(findAnnotation(Description.class, annotations));
View Full Code Here


        String opName = method.getName();
        SwaggerDataType returnTypeInfo = convertToSwaggerType(models, getReturnType(method));

        List<SwaggerParameter> params = documentParameters(models, method);

        ResponseMessages responseMessages = findAnnotation(ResponseMessages.class, annotations);
        List<SwaggerResponseMessage> rms = null;
        if (responseMessages != null && responseMessages.value() != null) {
            rms = new ArrayList<SwaggerResponseMessage>();
            for (ResponseMessage responseMessage : responseMessages.value()) {
                rms.add(new SwaggerResponseMessage(responseMessage.code(), responseMessage.message()));
            }
        }

        String doc = getDescription(findAnnotation(Description.class, annotations));
View Full Code Here

TOP

Related Classes of org.amdatu.web.rest.doc.ResponseMessages

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.