r2-oas 0.5.0
Let’s intuitively write API documentation with Swagger Editor in your Rails Project! 😊
Configureless and no DSL. 👍 But you can also configure.
Manage with yaml file instead of Ruby code.
Loosely coupled to your Rails project. 👍
So if you want to use another tool, you can port it right away. 😢
Generate api docment(OpenAPI) side only from ‘Rails` routing.
Provide rake tasks to management API Docment (OpenAPI) 🎉
$ bundle exec rake routes:oas:init
$ bundle exec rake routes:oas:docs
$ bundle exec rake routes:oas:ui
$ bundle exec rake routes:oas:editor
$ bundle exec rake routes:oas:monitor
$ bundle exec rake routes:oas:build
$ bundle exec rake routes:oas:clean
$ bundle exec rake routes:oas:analyze
$ bundle exec rake routes:oas:deploy
Happy Coding ❗️
Gemfile:
=
安裝:
=
Runtime 相依性套件 (6):
docker-api
>= 1.34.2
easy_diff
>= 1.0.0
eventmachine
>= 1.2.0
key_flatten
>= 1.0.0
railties
>= 4.2.5
watir
>= 6.16.5