forked from elastic/apm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modeldecoder/generator: enable additionalProperties subschema (elasti…
…c#4464) Handle map value rules without requiring patternProperties in JSON Schema. When value rules (e.g. inputTypesVals) are specified, but no patternKeys rule is specified, then nest the generated schema under additionalProperties. This will enable us to remove the patternKeys rules from labels, tags, etc. when moving label key sanitization into the server, without dropping label value validation.
- Loading branch information
Showing
3 changed files
with
41 additions
and
49 deletions.
There are no files selected for viewing
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
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
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