You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to generate the yaml in 'Expected behavior' but the SchemaProperty(array = ArraySchema(schema = Schema(implementation = PagedObject::class))
is ignored. The ref $ref: '#/components/schemas/PagedObject' is missing. The refs for Paging and Links are correctly rendered in #/components/schemas and the refs are working.
SchemaPropertyitems has no type ref to #/components/schemas/PagedObject:
Describe the bug
I would like to generate the yaml in 'Expected behavior' but the
SchemaProperty(array = ArraySchema(schema = Schema(implementation = PagedObject::class))
is ignored. The ref
$ref: '#/components/schemas/PagedObject'
is missing. Therefs
forPaging
andLinks
are correctly rendered in#/components/schemas
and the refs are working.SchemaProperty
items
has no type ref to#/components/schemas/PagedObject
:modelled like that:
Expected behaviour in section 'Expected behavior'
To Reproduce
Sample application public: https://github.com/bernhardkern/springdoc-openapi-array-ignored
./gradlew bootRun
orgradle bootRun
, if you have gradle installedhttp://localhost:8083/v3/api-docs.yaml
Expected behavior
If you open /api-docs.yaml there should be
If I can provide any more context to support, please contact me. Thx.
The text was updated successfully, but these errors were encountered: