swagger-api / swagger-core

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
http://swagger.io
Apache License 2.0
7.37k stars 2.17k forks source link

Ignore @JsonBackReference when resolving the model #4699

Open JBodkin-Amphora opened 3 months ago

JBodkin-Amphora commented 3 months ago

Removes properties annotated with @JsonBackReference from the model, as Jackson automatically populates this with the parent. Without this, you must annotation the model with @Schema(hidden = true)

fixes #3682 and #3960