Forum Discussion

jajohnson's avatar
jajohnson
New Contributor
4 years ago

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?  
  • jajohnson's avatar
    4 years ago

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