- bugfix: Empty
required
array should not be present. #111
- Set
required
in request body and response body #95, #98 - Generate OpenAPI with minitest instead of RSpec #90
- Generate security schemas via RSpec::OpenAPI.security_schemes #84
- Bunch of refactorings
- $ref enhancements: Support $ref in arbitrary depth #82
- $ref enhancements: Auto-generate components referenced in "items" #80
- Administration
- Generate Response Headers #69
- Initial support for $ref #67
- Fixed an empty array is turned into nullable object wrongly #70
- Stabilize the order parameter objects and preserve newer examples #59
- Replace
RSpec::OpenAPI.server_urls
withRSpec::OpenAPI.servers
#60
- Clarify the version requirement for actionpack #62
- Overwrite fields in an existing schema file instead of leaving all existing fields as is #55
- Fix a bug in nested parameters handling #46
- Add
info
config hash #43
- Fix "No route matched for" error in engine routes #38
- Fix linter issues for
tags
andsummary
#40
- De-duplicate parameters by a combination of
name
andin
#39
- Allow customizing
schema
,description
, andtags
through:openapi
metadata #36
- Allow using Proc as
RSpec::OpenAPI.path
#35
- Add
RSpec::OpenAPI.example_types
to hook types other thantype: :request
. #32
- Drop
RSpec::OpenAPI.output
introduced in v0.3.20 - Guess whether it's JSON or not by the extension of
RSpec::OpenAPI.path
- Add
RSpec::OpenAPI.output
config to output JSON #31
- Add
server_urls
andrequest_headers
configs #30
- Support nested query parameters #29
- Rescue NotImplementedError in the after suite hook as well #28
- Use
media_type
instead ofcontent_type
for Rails 6.1 #26 - Avoid crashing the after suite hook when it fails to build schema #27
- Fix an error when Content-Disposition header is inline #24
- Avoid an error when an application calls
request.body.read
#20
- Avoid crashing when there's no request made in a spec #19
- Generate
nullable: true
for null fields in schema #18
- Show a filename as an
example
forActionDispatch::Http::UploadedFile
#17
- Add
info.version
#16
- Initial support for multipart/form-data #12
- Generate
type: 'number', format: 'float'
instead oftype: 'float'
for Float #11
- Classify tag names and remove controller names from summary in Rails
- Fix documents generated by Rails engines
- Support finding routes in Rails engines
- Generate tags by controller names #10
- Avoid
JSON::ParserError
when a response body is no content #9
- Stop generating format as path parameters in Rails #8
- Add
RSpec::OpenAPI.description_builder
config to dynamically generate a description [experimental] #6
- Initial support of rack-test and non-Rails apps #5
- Allow disabling
example
byRSpec::OpenAPI.enable_example = false
- Generate
example
of request body and path / query params #4 - Remove a wrapper param created by Rails in request body #4
- Generate
example
of response body #3
- Support detecting
float
type #2
- Avoid NoMethodError on nil Content-Type
- Include a space between controller and action in summary
- Add
RSpec::OpenAPI.comment
configuration
- Generate
required: true
for path params #1
- Generate a path like
/{id}
instead of/:id
- Initial release