javadoc2swagger:将Javadoc转换为-读取自定义javadoc标记并生成一个swagger文件-源码

上传者: 42164534 | 上传时间: 2021-09-24 14:39:31 | 文件大小: 57KB | 文件类型: ZIP
Maven插件,用于从JAX-RS和Javadoc注释生成Swagger 这个Maven插件正在为基于JAX-RS的Java服务器生成Swagger API文档。 JAX-RS批注中未包含的其他信息放置在Javadoc注释中。 例 此处提供了一个使用javadoc2swagger-maven-plugin示例Maven项目: 介绍 从Java源代码创建Swagger文档的通常方法是注释。 但是它们有一些问题。 首先,将Swagger批注编译到服务器的JAR / WAR中,并占用磁盘空间。 第二,它们看起来不好。 第三,如果同时使用Javadoc和Swagger注释来记录代码,则会有冗余数据

文件下载

资源详情

[{"title":"( 60 个子文件 57KB ) javadoc2swagger:将Javadoc转换为-读取自定义javadoc标记并生成一个swagger文件-源码","children":[{"title":"javadoc2swagger-master","children":[{"title":"src","children":[{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"spirit21","children":[{"title":"swagger","children":[{"title":"converter","children":[{"title":"models","children":[{"title":"Parameter.java <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"JavaFile.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"Method.java <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"Tag.java <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"Property.java <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"Response.java <span style='color:#111;'> 891B </span>","children":null,"spread":false},{"title":"Definition.java <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"SwaggerModel.java <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"Swagger.java <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"Operation.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Resource.java <span style='color:#111;'> 787B </span>","children":null,"spread":false},{"title":"DataType.java <span style='color:#111;'> 612B </span>","children":null,"spread":false}],"spread":false},{"title":"loader","children":[{"title":"ClassJavadocLoader.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"ClassLoaderException.java <span style='color:#111;'> 269B </span>","children":null,"spread":false},{"title":"JavaFileLoader.java <span style='color:#111;'> 6.17KB </span>","children":null,"spread":false},{"title":"ClassLoader.java <span style='color:#111;'> 1.69KB </span>","children":null,"spread":false},{"title":"ClassAnnotationLoader.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"MethodLoader.java <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"AbstractLoader.java <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"ImportLoader.java <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"ApiJavadocLoader.java <span style='color:#111;'> 856B </span>","children":null,"spread":false},{"title":"JavaFileLoadException.java <span style='color:#111;'> 281B </span>","children":null,"spread":false}],"spread":true},{"title":"parsers","children":[{"title":"SwaggerApiParser.java <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"ParameterParser.java <span style='color:#111;'> 7.38KB </span>","children":null,"spread":false},{"title":"SwaggerParser.java <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"ResourceParser.java <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"AbstractParser.java <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"ParserException.java <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"Parser.java <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"ResponseParser.java <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"DefinitionParser.java <span style='color:#111;'> 11.10KB </span>","children":null,"spread":false},{"title":"OperationParser.java <span style='color:#111;'> 6.15KB </span>","children":null,"spread":false},{"title":"TagParser.java <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false}],"spread":false},{"title":"writers","children":[{"title":"AbstractWriter.java <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"ParameterWriter.java <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"ResourceWriter.java <span style='color:#111;'> 900B </span>","children":null,"spread":false},{"title":"OperationWriter.java <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"DefinitionWriter.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"WriterException.java <span style='color:#111;'> 262B </span>","children":null,"spread":false},{"title":"ResponseWriter.java <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"PropertyWriter.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"SwaggerWriter.java <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"TagWriter.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"datatype","children":[{"title":"BooleanHandler.java <span style='color:#111;'> 422B </span>","children":null,"spread":false},{"title":"MediaTypeHandler.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"ByteHandler.java <span style='color:#111;'> 410B </span>","children":null,"spread":false},{"title":"DateHandler.java <span style='color:#111;'> 725B </span>","children":null,"spread":false},{"title":"TypeHandler.java <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"NumberHandler.java <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"StringHandler.java <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"DataTypeFactory.java <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"ObjectHandler.java <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"HttpMethodAnnotationHandler.java <span style='color:#111;'> 846B </span>","children":null,"spread":false},{"title":"ListHandler.java <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false},{"title":"Plugin.java <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"Regex.java <span style='color:#111;'> 905B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.97KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明