You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We have a (very cool!) configurable rules feature that also works well for all the different formats we support (OpenAPI, AsyncAPI, Arazzo - of various versions). However, the rules defined in a configuration file apply to all API descriptions of all formats when linting. It would be better to be able to define rules for each API description format/version to avoid having to pre-process, repeat-define rules in per-api configurations, or use multiple config files (these are the existing alternatives as I see them).
Describe the solution you'd like
I would like us to support configurable rules alongside per-format rules configuration (which exists and is under renaming discussion in #1723 ):
Currently, all configurable rules are mixed together, even if they are defined under a specific rule section. We have to change the way we group them (probably in groupStyleguideAssertionRules).
Is your feature request related to a problem? Please describe.
We have a (very cool!) configurable rules feature that also works well for all the different formats we support (OpenAPI, AsyncAPI, Arazzo - of various versions). However, the rules defined in a configuration file apply to all API descriptions of all formats when linting. It would be better to be able to define rules for each API description format/version to avoid having to pre-process, repeat-define rules in per-api configurations, or use multiple config files (these are the existing alternatives as I see them).
Describe the solution you'd like
I would like us to support configurable rules alongside per-format rules configuration (which exists and is under renaming discussion in #1723 ):
Describe alternatives you've considered
Everyone has to write their rules in plugins, so they can be exported for different types and included in the per-format sections of the config file.
Additional context
From a discussion about support and documentation for linting multiple API description formats in a single project with @DmitryAnansky and @tatomyr .
The text was updated successfully, but these errors were encountered: