This is the right approach when you are in a greenfield project. Other than that you will want to document the existing infrastructure and this is exactly where rswag and appmap-swagger come into play.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I see a lot of generators of spec from code and it is a biggest misunderstanding of the idea of openapi.
Idea of openapi is design-first approach. You write specs, discuss them with all stakeholders and then generate code from these specs.
Mechanical code generation will give you confidence and tell for sure that code is working according to specs.
When spec is generated from api, than any minor fix in code can break contracts and no test will fail.
This is the right approach when you are in a greenfield project. Other than that you will want to document the existing infrastructure and this is exactly where
rswag
andappmap-swagger
come into play.