Skip to main content

allOf with explicit empty object properties

GET 

/allof-empty-object-properties

Demonstrates an intentional empty object schema (properties: {}) to ensure the renderer still shows the object shape rather than hiding it.

Schema:

type: object
properties:
metadata:
type: object
properties: {}
name:
type: string

Responses

Successful response