Release date 2025/10/01
Bugfix
-
Fixed an issue where empty arrays defined in the mocking plugin schema were incorrectly returned as object types instead of array types in response bodies.
Release date 2025/10/01
Fixed an issue where empty arrays defined in the mocking plugin schema were incorrectly returned as object types instead of array types in response bodies.
Release date 2025/09/05
Fixed an issue where an empty array set in the mocking plugin schema with object type. It should return an array type instead of an object type in the response body.
Release date 2025/07/03
Fixed an issue where an empty array set in the mocking plugin returned an object type instead of an array type in the response body.
Release date 2025/08/07
Fixed an issue where an empty array set in the mocking plugin schema with object type. It should return an array type instead of an object type in the response body.
Release date 2025/07/06
Fixed an issue where an empty array set in the mocking plugin returned an object type instead of an array type in the response body.
Release date 2025/07/07
Fixed an issue where an empty array set in the mocking plugin returned an object type instead of an array type in the response body.
Release date 2025/07/02
Fixed an issue where an empty array set in the mocking plugin returned an object type instead of an array type in the response body.
Release date 2024/05/28
Add the custom_base_path field to specifiy a custom base path. It will be used with the deck file namespace feature
Release date 2024/02/12
Fix an issue where valid recursive schemas are always rejected.
Fix an issue where the plugin failed to return the mock response when resposnes contains default or wildcard codes like 2XX.
Release date 2025/09/05
Fixed an issue where an empty array set in the mocking plugin schema with object type. It should return an array type instead of an object type in the response body.
Release date 2025/06/10
Fixed an issue where an empty array set in the mocking plugin returned an object type instead of an array type in the response body.
Release date 2023/08/09
Fixed an issue where the plugin threw an error when the arbitrary elements were defined in the path node.
Release date 2022/12/06
Added the included_status_codes and random_status_code fields. These allow you to configure the HTTP status codes for the plugin.
The plugin now lets you auto-generate a random response based on the schema definition without defining examples.
You can now control behavior or obtain a specific response by sending behavioral headers: X-Kong-Mocking-Delay, X-Kong-Mocking-Example-Id, and X-Kong-Mocking-Status-Code.
This plugin now supports:
$refMIME types priority match
All HTTP codes
$ref
Fixed an issue with accept headers not being split and not working with wildcards. The ;q= (q-factor weighting) of accept headers is now supported.
Release date 2022/09/09
Fixed an issue where 204 responses were not handled correctly and you would see the following error:"No examples exist in API specification for this resource".
204 response specs now support empty content elements.