embedio icon indicating copy to clipboard operation
embedio copied to clipboard

embedio webapi for swagger

Open kiaser opened this issue 3 years ago • 2 comments

hi, I haven't found out embedio support for webapi swagger

kiaser avatar Jan 25 '22 07:01 kiaser

Hello @kiaser, thanks for using EmbedIO!

While support for OpenAPI would be welcome, it shouldn't be an addition to EmbedIO itself IMHO. I see three possible implementations:

I don't see the first one happening any time soon, as Swagger Codegen generators must be written in Java. Furthermore, the swagger-codegen-generators project already has 81 open PRs, so the chances of an EmbedIO generator making its way in appear meager.

The other two options both look promising. I'll leave this issue open in the hope someone chimes in and tries at least a preliminary analysis.

rdeago avatar Jan 25 '22 09:01 rdeago

Hello @kiaser, thanks for using EmbedIO!

While support for OpenAPI would be welcome, it shouldn't be an addition to EmbedIO itself IMHO. I see three possible implementations:

I don't see the first one happening any time soon, as Swagger Codegen generators must be written in Java. Furthermore, the swagger-codegen-generators project already has 81 open PRs, so the chances of an EmbedIO generator making its way in appear meager.

The other two options both look promising. I'll leave this issue open in the hope someone chimes in and tries at least a preliminary analysis.

thanks for your advice ,I try to implement it

kiaser avatar Jan 26 '22 03:01 kiaser