openapi-comment-parser:OpenAPI规范的Doc注释

时间:2021-02-04 23:23:20
【文件属性】:
文件名称:openapi-comment-parser:OpenAPI规范的Doc注释
文件大小:502KB
文件格式:ZIP
更新时间:2021-02-04 23:23:20
express jsdoc swagger openapi ExpressCSS OpenAPI评论解析器 一种干净简单的方式来记录代码以生成OpenAPI(Swagger)规范。 目标 安装 $ npm install openapi-comment-parser --save 要么 $ yarn add openapi-comment-parser 用法 创建具有基本OpenAPI定义的yaml文件: openapi : 3.0.0 info : title : Title of your service version : 1.0.0 将以下内容添加到您的代码中: const openapi = require ( 'openapi-comment

网友评论