Related Documentation
Made by
Kong Inc.
Supported Gateway Topologies
hybrid db-less traditional
Supported Konnect Deployments
hybrid cloud-gateways serverless
Compatible Protocols
grpc grpcs http https
Minimum Version
Kong Gateway - 3.1
Related Resources

3.10.0.0

Release date 2025/03/27

Feature

  • Added support for the discriminator keyword in OpenAPI specs.

  • Added support for oneOf, anyOf, allOf, and not keywords.

Bugfix

  • Fixed an issue where query params without values caused an assertion failure.

Performance

  • Improved performance on OpenAPI 3.0.

3.9.0.0

Release date 2024/12/12

Bugfix

  • 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.

3.8.0.0

Release date 2024/09/11

Feature

  • Fixed an issue where the plugin cannot obtain the value when the path parameter name contains hyphen characters.

Bugfix

  • 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.

3.7.0.0

Release date 2024/05/28

Feature

  • 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.

Bugfix

  • priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.

3.6.1.4

Release date 2024/05/14

Bugfix

  • priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.

3.6.1.2

Release date 2024/04/08

Feature

  • Add a new field api_spec_encoded to indicate whether the api_spec is URI-Encoded.

3.6.0.0

Release date 2024/02/12

Breaking Change

  • bypass schema validation when content-type is not application/json.

Bugfix

  • 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.

3.5.0.4

Release date 2024/05/20

Feature

  • Add a new field api_spec_encoded to indicate whether the api_spec is URI-Encoded.

Bugfix

  • 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.

3.5.0.2

Release date 2023/12/21

Bugfix

  • 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.

3.5.0.0

Release date 2023/11/08

Feature

  • Introduces a new property include_base_path to indicate whether to include the base path when performing the path match evaluation.

Bugfix

  • 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.

3.4.3.8

Release date 2024/05/16

Bugfix

  • priorities have been updated to prevent collisions between plugins. The relative priority (and the order of execution) of bundled plugins remained unchanged.

3.4.3.6

Release date 2024/04/15

Feature

  • Add a new field api_spec_encoded to indicate whether the api_spec is URI-Encoded.

3.4.3.3

Release date 2024/01/17

Bugfix

  • Fixed an issue that the cookie parameters are not being validated.

3.4.3.1

Release date 2023/12/15

Bugfix

  • 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.

3.4.0.0

Release date 2023/08/09

Bugfix

  • 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.

3.3.0.0

Release date 2023/05/19

Bugfix

  • Added the missing schema field protocols for jwe-decrypt, oas-validation, and vault-auth.

3.1.1.2

Release date 2023/01/24

Bugfix

  • 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.

3.1.0.0

Release date 2022/12/06

Feature

  • Validate HTTP requests and responses based on an OpenAPI 3.0 or Swagger API Specification.

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!