开源软件名称(OpenSource Name):syroegkin/swagger-markdown开源软件地址(OpenSource Url):https://github.com/syroegkin/swagger-markdown开源编程语言(OpenSource Language):TypeScript 97.5%开源软件介绍(OpenSource Introduction):swagger-markdownCLI script to turn swagger yaml into markdown files. Supports swagger 2.0 format only see examples folder Installationnpm install -g swagger-markdown Usage
Npx (requires no installation)npx swagger-markdown -i ./basic-auth.yaml Exampleswagger-markdown -i path/to/swagger/file.yaml By default it will create the new file within the same directory with the same name as swagger file but with .md extension.
So, if swagger file is placed in You can also use it as a npm script in your package.json: npm i --save-dev swagger-markdown {
"scripts": {
"md-docs": "swagger-markdown -i path/to/swagger.yaml",
//...
}
} npm run md-docs Related |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论