Release date 2025/10/01
Bugfix
-
Fixed an issue where certain query strings in URLs that did not conform to the configured OpenAPI specification could cause the plugin to throw an unexpected runtime error and respond with an HTTP 500 error.
Release date 2025/10/01
Fixed an issue where certain query strings in URLs that did not conform to the configured OpenAPI specification could cause the plugin to throw an unexpected runtime error and respond with an HTTP 500 error.
Release date 2025/07/03
Added support for validating multipart/form-data
requests.
Fixed an issue where the plugin raises “path not found error” when include_base_path is set to true and the server url is “/”.
Fixed an issue where the plugin throws an error for responses without a Content-Type header.
Fixed an issue where query parameters with explode=false couldn’t be validated.
Improved performance for OpenAPI 3.1.
Release date 2025/07/06
Fixed an issue where the plugin throws an error for responses without a Content-Type header.
Release date 2025/03/27
Added support for the discriminator
keyword in OpenAPI specs.
Added support for oneOf
, anyOf
, allOf
, and not
keywords.
Fixed an issue where query params without values caused an assertion failure.
Improved performance on OpenAPI 3.0.
Release date 2025/07/07
Fixed an issue where the plugin throws an error for responses without a Content-Type header.
Release date 2024/12/12
Fixed an issue where the error message was omitted if notify_only_request_body_validation_failure
or notify_only_response_body_validation_failure
was set to false
.
Fixed an issue where the include_base_path
did not work when multiple servers were provided.
Fixed an issue where the spec could not be located if the Content-Type
in the request/response body included parameters (e.g., application/json; charset=utf8
), while the openapi specification defined in api_spec
did not include parameters.
Release date 2025/07/02
Fixed an issue where the plugin throws an error for responses without a Content-Type header.
Release date 2024/09/11
Fixed an issue where the plugin cannot obtain the value when the path parameter name contains hyphen characters.
Fixed an issue where parameter serialization does not behave the same as in the OpenAPI specification
Fixed a bug where the non-string primitive types passed via URL query were unexpectedly cast to string when OpenAPI spec is v3.1.0.
Release date 2024/05/28
Add a new field api_spec_encoded
to indicate whether the api_spec
is URI-Encoded.
Add the custom_base_path
field to specifiy a custom base path. It will be used with the deck file namespace
feature
Supported OpenAPI Specification v3.1.0. The plugin now switches to a new JSONSchema validator when the specification version is v3.1.0.
priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.
Release date 2024/05/14
priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.
Release date 2024/04/08
Add a new field api_spec_encoded
to indicate whether the api_spec
is URI-Encoded.
Release date 2024/02/12
bypass schema validation when content-type is not application/json
.
OAS-Validation Fix a bug where the plugin throws a runtime error caused by the ref parameter schema not being dereferenced.
Fixed an issue that the plugin throws a runtime error while validating parameters with AnyType schema and style keyword defined.
Fixed an issue that the cookie parameters are not being validated.
Fixed an issue that the nullable keyword did not take effect.
Fixed an issue where the request path could not matched when containing regex escape characters.
Fixed an issue that the URI component escaped characters were incorrectly unescaped.
Release date 2024/05/20
Add a new field api_spec_encoded
to indicate whether the api_spec
is URI-Encoded.
Fixed an issue that the cookie parameters are not being validated.
priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.
Release date 2023/12/21
OAS-Validation Fix a bug where the plugin throws a runtime error caused by the ref parameter schema not being dereferenced.
Fixed an issue that the plugin throws a runtime error while validating parameters with AnyType schema and style keyword defined.
Fixed an issue that the nullable keyword did not take effect.
Fixed an issue that the URI component escaped characters were incorrectly unescaped.
Release date 2023/11/08
Introduces a new property include_base_path
to indicate whether to include the base path when performing the path match evaluation.
OAS Validation Fix an issue where non application/json
content-types are being rejected even though the request body is not required.
Fix an issue where a null pointer exception may occur in some scenarios when configuration notify_only_request_validation_failure is true
Fix the issue that path parameter cannot match non-ascii characters.
Fix an issue where valid recursive schemas are always rejected.
Release date 2024/05/16
priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.
Release date 2024/04/15
Add a new field api_spec_encoded
to indicate whether the api_spec
is URI-Encoded.
Release date 2023/12/15
Fix a bug where the plugin throws a runtime error caused by the ref parameter schema not being dereferenced.
Fix an issue where valid recursive schemas are always rejected.
Fixed an issue that the plugin throws a runtime error while validating parameters with AnyType schema and style keyword defined.
Fixed an issue that the nullable keyword did not take effect.
Fixed an issue that the URI component escaped characters were incorrectly unescaped.
Fix the issue that path parameter cannot match non-ascii characters.
Release date 2023/08/09
Fixed an issue where the plugin was unable to pass the validation even if path parameter was valid.
Fixed an issue where the plugin always validated the request body even if the method spec had no requestBody
defined.
Fixed an issue where the comparison between large absolute value numbers could be incorrect due to the number being converted to exponential notation.
Release date 2023/05/19
Added the missing schema field protocols
for jwe-decrypt
, oas-validation
, and vault-auth
.
Release date 2023/01/24
Added the OAS Validation plugin back into the bundled plugins list. The plugin is now available by default with no extra configuration necessary through kong.conf
.
Fixed an issue where the plugin returned the wrong error message when failing to get the path schema spec.
Fixed a 500
error that occurred when the response body schema had no content field.