{ "openapi": "3.0.1", "info": { "title": "API Name", "version": "1.0" }, "paths": { "/test": { "get": { "responses": { "200": { "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "string" }, "foo": { "type": "object", "properties": { "bar": { "type": "string" } } }, "qux": { "type": "object", "properties": { "quux": { "type": "string" } }, "additionalProperties": { "type": "object", "properties": { "corge": { "type": "string" } } } } } } } } } } } } } }