Due to the OpenAPI v3.0 and JSON Schema discrepancy, you can use this JS library to convert OpenAPI Schema objects to proper JSON Schema.
242
stars
20
forks
source link
Request to support propertyNames for additional Properties Keys #37
Closed
aeneal closed 2 years ago
in the same way you are supporting
x-patternProperties
it would be great if we could do the same for setting the names eg"Parent": { "type": "object", "propertyNames": { "enum": ["foo", "bar"] }, "additionalProperties": { "$ref": "#/components/schemas/Child" } }