Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e1b75c8b134be8f9476b001f5f2992f59edde9ef
https://github.com/tribe29/checkmk/commit/e1b75c8b134be8f9476b001f5f2992f59…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2020-08-03 (Mon, 03 Aug 2020)
Changed paths:
A cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M web/htdocs/openapi/checkmk.yaml
Log Message:
-----------
REST-API: add marshmallow fields for validating OpenAPI keys
* String: validates enum, pattern, maxLength, minLength, maximum
* Integer: validates enum, minimum, maximum, exclusiveMinimum,
exclusiveMaximum, multipleOf
* List: validates uniqueItems (both with Nested and normal fields)
* Nested: validates uniqueItems (when used with `many`)
Change-Id: I13e134bbaf67c826c1e2d9e5c52891cf68389d95