Repository navigation
Support OpenAPI 3.1 - #495
Merged
Merged
Conversation
Route 3.1 documents to the OpenAPI 3 driver, handle array-form `type` where committee switches on it, and add 3.1 request/response tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
adds openapi 3.1 support, using openapi_parser 2.4.
openapiversion is parsed once as aGem::Version, so3.1and unquoted yaml3.1work too)Committee::Utils.schema_typeto handle array-formtype(e.g.[array, "null"]) in param deserialization and test dummy valuesopenapi_parserdependency to~> 2.4like openapi_parser, the runtime doesn't check the declared version, so array-form
typealso works in 3.0 docs (previously array/object params with it failed).strict_specification_version: :warnflags it.tests cover:
constprefixItemscomponents.pathItemstypein every deserializer style, theexcepttest helpers, and 3.0 docsnot yet supported:
$dynamicRef/$dynamicAnchorif/then/elseunevaluatedPropertiesdependentRequiredpatternProperties$refsiblingscloses #352