openapi: 3.1.0
info:
title: Deeply Nested Inline Objects Test
description: Test case for three levels of nested inline objects
version: 1.0.0
paths:
/test:
get:
summary: Test endpoint
operationId: test
responses:
'200':
description: OK
components:
schemas:
DeeplyNestedInline:
type: object
description: Three levels of nested inline objects
properties:
level_one:
type: object
required:
- level_one_field
properties:
level_one_field:
type: string
level_two:
type: object
properties:
level_two_field:
type: integer
level_three:
type: object
properties:
level_three_field:
type: boolean
required:
- level_one