Open Sheldoras opened 3 months ago
Welcome to Springwolf. Thanks a lot for reporting your first issue. Please check out our contributors guide and feel free to join us on discord.
Hi @Sheldoras,
Great suggestion.
A couple questions for understanding:
pathsToMatch
in OpenAPI)? Is it only based on the channel name or do you actually intend to group by the actual operation (including the schema, so that you can differentiate between v1 and v2 payloads)?group
in OpenAPI)?Hi @timonback,
thanks for considering this!
If you have any other question I'm happy to answer them!
Describe the feature request Currently Springwolf only allows for one AsyncAPI document to be provided by a service. The only limiting option about 'which' channels/operations etc go into said AsyncAPI specification is the
base-package
property.Looking at other tools (Springdoc for OpenAPI spec generation for example) they allow for multiple OpenAPI specs to be declared in parallel (say one spec for version 1.0.0 and one for 2.0.0 which are simultaneously supported by a service). It is also possible to filter more finely which endpoints (in the case of OpenAPI) go into which OpenAPI specification.
Motivation If a service wants to support different AsyncAPI versions in parallel, it would be beneficial if two (or more) distinct specifications could be configured, each including only its relevant channels/operations/schemas.
Technical details With Springdoc and OpenAPI this declaration can look like so:
Something equivalent for providing multiple AsyncAPI specifications per service would be fantastic