adobe / aquarium-fish

Your best secure distributed heterogeneous dynamic compute resource manager for CI
Other
7 stars 3 forks source link

Try to use ogen for code generation #75

Open sparshev opened 1 month ago

sparshev commented 1 month ago

There is a new openapi generator called ogen: https://github.com/ogen-go/ogen . It could solve some issues we have with oapi-codegen, but it requires quite a bit of investigation to potentially integrate it into the body. It replaces echo with their own static routing implementation, which is faster, so routing also will be affected.

Need to check if it's even possible and worth it - the current complexity I see is the inability to separate parts of the specification as we have in lib/openapi folder right now...