Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions demo/examples/tests/allOf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,39 @@ paths:
name:
type: string

/allof-empty-object-properties:
get:
tags:
- allOf
summary: allOf with explicit empty object properties
description: |
Demonstrates an intentional empty object schema (properties: {}) to ensure
the renderer still shows the object shape rather than hiding it.

Schema:
```yaml
type: object
properties:
metadata:
type: object
properties: {}
name:
type: string
```
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
metadata:
type: object
properties: {}
name:
type: string

/allof-multiple-oneof:
post:
tags:
Expand Down
Loading
Loading