Created
August 2, 2020 15:35
-
-
Save DanukaPraneeth/6284f29dc413346886cbae52069a9db6 to your computer and use it in GitHub Desktop.
This file contains 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
apiVersion: configuration.konghq.com/v1 | |
kind: KongPlugin | |
metadata: | |
name: request-validator | |
config: | |
allowed_content_types: | |
- application/json | |
body_schema: '[{"firstName":{"type": "string", "required": false}},{"lastName":{"type": "string", "required": true}}]' | |
parameter_schema: null | |
verbose_response: false | |
version: kong | |
enabled: false | |
run_on: first | |
protocols: | |
- grpc | |
- grpcs | |
- http | |
- https | |
plugin: request-validator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment