Allow generating multiple `interface`s that build into a single `ServerInterface`
Via https://github.com/deepmap/oapi-codegen/issues/249#issuecomment-1517859944 and (TODO: add other issue references) we should make it possible to decompose a large API across multiple types.
This would be opt-in, and maybe configurable as to whether to:
- Provide an
interfaceperoperationId - Provide an
interfaceper set of tags
This would then allow type embedding to produce a single ServerInterface that consumes each of these smaller interfaces
May I ask if there has been any progress on this feature?
I had this exact same idea, I think this would be a really good addition! I think it would make sense to do it per tag, but more granular per operationId can also work.
I think this would very nice to be able to do:
var _ MyPathsInterface = (*MyPathsHandler)(nil)