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 ACCEPTED SOLUTION

Accepted Solutions
jajohnson
New Contributor

Re: id fields are automatically hidden

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

View solution in original post

1 REPLY 1
jajohnson
New Contributor

Re: id fields are automatically hidden

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

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: