Releases: zhandao/zero-rails_openapi
Releases · zhandao/zero-rails_openapi
Zero-Rails_OpenApi 2.0.0 Release!!!!
1.6.0 release!
Changed
- issue #21 support additionalProperties. Thanks @barnaclebarnes
- issue #23 Uniqueness of operationId. Thanks @barnaclebarnes
Fixed
- issue #22 missing
/
in reference. Thanks @barnaclebarnes
1.5.9 release!
1.5.7 release!
1.5.6 release!
Changed
- Upgrade
loofah
andrails-html-sanitizer
cause XSS vulnerability. - Refactor and document DSL for Rspec (spec_dsl.rb).
1.5.5 release!
1.5.4 release!
Thanks to @austbot, fix - colorize fails at runtime.
Zero-Rails_OpenApi 1.5.3 release!
Added
- Colorize output.
Changed
- Refactoring SchemaObj and remove
preprocess
. schema_hash
=>schema_info
.- Refactoring
process_objs
.. dsl/ files.
Fixed
- max lth and min lth is reversed.
Zero-Rails_OpenApi 1.5.2 release!
Added
do_*
can be passed common schema after (or before)by:
.- when this action can be accessed through multiple HTTP methods (but not set through
match
),
it also matches and generate both HTTP methods.
Changed
root_controller
=>base_doc_class
.ctrl_path
=>ctrl_base
.apis_tag
=>doc_tag
.@_ctrl_infos
=>@doc_info
,@_api_infos
=>@api_info
,@_apis_dry_blocks
=>@zro_dry_blocks
.OpenApi.paths_index
=>OpenApi.routes_index
.get_actions_by_ctrl_path
=>get_actions_by_route_base
.Config.dft_file_format
=>Config.file_format
.- Modify the description of the test case (remove
should
). deep_merge!
instead of_fusion
.ApiInfoObj
=>ApiInfo
.
Zero-Rails_OpenApi 1.5.1 release!
[1.5.1 - 100% Test Coverage] - 2017/12/21 - view diff
Completed the test code (250+ examples), and make it 100% coverage.
Feature
type: [String, Integer ..]
will generate an array, which's items
would be a oneOf combined schema.
Fixed:
desc
will override dry's.type: something
is passed toschema_hash
, but nottype
.- Should not
skip
the params inside block. body_ref
invalid.- schema
length
's order is reversed. - Example Obj ref.
Added:
- Use
simplecov
. - CodeClimate test hook.
- Test's support.
- Designed RSpec matchers
have_keys
andhave_size
. - Designed a set of RSpec's DSL (DSSL) for testing.
Changed:
- WILL NOT do
recognize_is_options_in
. instance_eval
=>instance_exec
in dsl.rb.- Guard Clause for
generate_docs
and where schema could be defined. - Change signature of
server
inapi
. - Simplify
recursive
s. enum: { 'desc' => :enum1 }
=>enum!: { 'desc' => :enum1 }