You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm curious about how the OpenAPI schema.json file (located under src/main/resources) is mapped to the controller endpoints. It seems like this mapping is managed behind the scenes, as I don’t see any explicit configuration linking the schema to the endpoints. Additionally, the controller methods don’t seem to have springdoc-openapi annotations that describe their handlers, which makes me wonder how the documentation is generated.
Another interesting thing I noticed is when an endpoint is missing in the implementation, a generated message appears indicating that it hasn't been implemented yet.
I'm curious about how this is handled in the code, as it seems to be automatically generated
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm curious about how the OpenAPI schema.json file (located under
src/main/resources
) is mapped to the controller endpoints. It seems like this mapping is managed behind the scenes, as I don’t see any explicit configuration linking the schema to the endpoints. Additionally, the controller methods don’t seem to have springdoc-openapi annotations that describe their handlers, which makes me wonder how the documentation is generated.Another interesting thing I noticed is when an endpoint is missing in the implementation, a generated message appears indicating that it hasn't been implemented yet.
I'm curious about how this is handled in the code, as it seems to be automatically generated
Beta Was this translation helpful? Give feedback.
All reactions