Package com.wordnik.swagger.annotations

Examples of com.wordnik.swagger.annotations.ApiClass.description()


        elem.setAttribute("name", classElementIn.getSimpleName().toString());
        elem.setAttribute("nameId","..." + classElementIn.getSimpleName().toString());
        ApiClass api = classElementIn.getAnnotation(ApiClass.class);
        if (api!=null) {
            elem.setAttribute("abstract",api.value());
            if (api.description()!=null && !api.description().isEmpty()) {
                elem.setAttribute("description",api.description());
            }
        }
        // Determine the name of how the elements of this class are named in the XML / JSON output
        XmlRootElement rootElement = classElementIn.getAnnotation(XmlRootElement.class);
View Full Code Here


        elem.setAttribute("name", classElementIn.getSimpleName().toString());
        elem.setAttribute("nameId","..." + classElementIn.getSimpleName().toString());
        ApiClass api = classElementIn.getAnnotation(ApiClass.class);
        if (api!=null) {
            elem.setAttribute("abstract",api.value());
            if (api.description()!=null && !api.description().isEmpty()) {
                elem.setAttribute("description",api.description());
            }
        }
        // Determine the name of how the elements of this class are named in the XML / JSON output
        XmlRootElement rootElement = classElementIn.getAnnotation(XmlRootElement.class);
View Full Code Here

        elem.setAttribute("nameId","..." + classElementIn.getSimpleName().toString());
        ApiClass api = classElementIn.getAnnotation(ApiClass.class);
        if (api!=null) {
            elem.setAttribute("abstract",api.value());
            if (api.description()!=null && !api.description().isEmpty()) {
                elem.setAttribute("description",api.description());
            }
        }
        // Determine the name of how the elements of this class are named in the XML / JSON output
        XmlRootElement rootElement = classElementIn.getAnnotation(XmlRootElement.class);
        String objectName;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.