Package com.wordnik.swagger.annotations

Examples of com.wordnik.swagger.annotations.ApiProperty


                    pName = mName.substring(2);
                }
                pName = pName.substring(0,1).toLowerCase() + pName.substring(1);

                mElem.setAttribute("name",pName);
                ApiProperty ap = m.getAnnotation(ApiProperty.class);
                if (ap!=null) {
                    mElem.setAttribute("description",ap.value());
                }
                TypeMirror returnTypeMirror = m.getReturnType();
                //  for types in the modelPackage or java.lang, remove the fqdn
                String typeName = returnTypeMirror.toString();
                if (typeName.contains(modelPackage)) {
View Full Code Here

TOP

Related Classes of com.wordnik.swagger.annotations.ApiProperty

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.