Thanks 1nickt, that solved the validation issues.
I did read about additionalProperties in the OpenAPI spec. But they did not mention that you can just simply add additionalProperties=false. I found a better description here where they clearly state:
The additionalProperties keyword may be either a boolean or an object. If additionalProperties is a boolean and set to false, no additional properties will be allowed.
Veltro
In reply to Re^2: Mojolicious::Plugin::OpenAPI strict or filter object representation
by Veltro
in thread Mojolicious::Plugin::OpenAPI strict or filter object representation
by Veltro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |