Ask a Question

id fields are automatically hidden

SOLVED
jajohnson
New Contributor

id fields are automatically hidden

After updating to swagger.core 2.1.9 the "id" properties in the openAPI example and schema are no longer present. Any ideas as to why this is happening?

 

1 REPLY 1
jajohnson
New Contributor

I changed the @Schema() annotation from the field to the get method and now it is picking the id's up again.

cancel
Showing results for 
Search instead for 
Did you mean: