Release date 2025/03/27
Bugfix
-
Fixed an issue where random delays were out of range.
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 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:
$ref
MIME 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.