Skip to content

Zero-Rails_OpenApi 1.4.0 Release!

Compare
Choose a tag to compare
@zhandao zhandao released this 02 Dec 16:56
· 85 commits to master since this release

Changes

  1. Config.register_docs => Config.open_api_docs.
  2. Config DSL api => open_api.
  3. [IMPORTANT] DSL open_api => api.
  4. Use module instance variables instead of global variables.
  5. Is refactoring based on rubocop by hand.

New Feature

  1. Support CombinedSchema, like one_of, any_of..
  2. Authentication and Authorization DSL, for Defining Security Scheme and Applying Security.
  3. The ability to identify multi-httpverbs.
  4. Also support api :name, type: String.
    (You have to write this before api :name, String)
  5. Support designated http method in api.
  6. Fix controller's require question in generate_docs.
  7. Support read files to get routes information. (Config.rails_routes_file)
  8. The completion of the basic README.

View Diff