Forum Discussion
1 Reply
Using `additionalProperties: true` (or `unevalutatedProperties: true` for OAS 3.1 and above) are appropriate ways to solve your goal.
For OAS 3.0.*, the Example Value field with show an `additionalProp1` to give an indication that more properties can be specifiedFor OAS 3.1.*, the Schema renderer also shows that Additional Properties are allowed
What are you expecting to happen that's not working?
It might be just that you are not seeing renders making it very clear to that additional properties are allowed in these scenarios. Note - JSON schema is a constraints based language, so you should validate the schema against a JSON instance to determine validity.
The latest versions of SwaggerUI give some additional hints that additional/unevaluated properties are allowed.You can check out the behaviour here: https://editor-next.swagger.io/