Generate OpenAPI / Swagger specification from HTTP triggers?

Hello,

Is it possible to generate an OpenAPI / Swagger specification from HTTP triggers ? If yes, how ?

It would really help the development of APIs.

I could not find anything on it in the docs or the community forum.

Thank you all.