文件名称:jsonapi-swagger:创建一个JSONAPI Swagger
文件大小:17KB
文件格式:ZIP
更新时间:2024-05-26 09:12:16
i18n json rspec swagger jsonapi
JSONAPI Swagger 生成JSONAPI Swagger文档。 安装 将此行添加到您的应用程序的Gemfile中: gem 'jsonapi-swagger' 然后执行: $ bundle 或将其自己安装为: $ gem install jsonapi-swagger 用法 配置jsonapi swagger # config/initializers/swagger.rb Jsonapi :: Swagger . config do | config | config . use_rswag = false config . version = '2.0' config . info = { title : 'API V1' , version : 'V1' } config . file_path = 'v1/swagger.json' end
【文件预览】:
jsonapi-swagger-master
----.gitignore(85B)
----README.md(2KB)
----bin()
--------console(380B)
--------setup(131B)
----.github()
--------workflows()
----Gemfile(131B)
----LICENSE(1KB)
----jsonapi-swagger.gemspec(1KB)
----lib()
--------generators()
--------i18n()
--------jsonapi()
----Rakefile(79B)