Skip to content

PinXian53/open-api-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Api Tool

功能

讀取 open-api,轉換成 excel 文件

使用方式

服務啟動後,可進入 swagger 頁面

http://localhost:8080/swagger-ui/index.html#/

image

  • templateType: 輸出的模板種類
  • openApi: 上傳 open api 3.0 的文字檔 (支援 json, yaml 格式)

範例檔案:resources/templates/test_files/open-api.json

image

執行後,產生的 excel 如下

image

excel 模板調整

excel 模板使用 JXLS 實作,可以自行調整成所需的格式

https://jxls.sourceforge.net/

模板位置: resources/templates

image

About

讀取 open api 產生 excel 文件

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages