Forum Discussion

hakonruud's avatar
Occasional Visitor
4 years ago

PetStore example

I am looking at the petstore-example. I am struggling to understand how annotations in the class affect the openapi.yaml file in any way. My ideal goal would be to only need to update the code one place (in the and the, based on annotations in this file, automatically generate the openapi.yaml-file (which I understand is needed for swagger-ui). Is this possible? And can you please give me some help/guidance on this?