Skip to content

Question about ibm-operationid-naming-convention change – possible breaking impact #763

@tomo-kn

Description

@tomo-kn

First of all, thank you for providing this useful tool.

In PR #757, the rule ibm-operationid-naming-convention was described as “extended.” However, in our project this update causes many existing operationIds to fail validation unless we rename them, which feels like a breaking change rather than a simple extension.

What we confirmed

Impact

  • We apply ibm-operationid-naming-convention at error severity.
  • With this update, we now have to rename a large number of existing operationIds just to make CI pass.

Requests / Questions

  1. Compatibility mode or option

    • For example:

      • A “legacy” mode to preserve previous behavior
      • Toggles to selectively disable stricter parts (noun inference, singular/plural checks, verb set, etc.)
  2. Migration guide

    • Concrete before/after examples of operationId
    • Clear explanation of rule logic (noun extraction, plural rules, allowed verbs)
    • Guidance for bulk-renaming or codemod scripts
  3. Release notes clarification

    • Since this breaks existing specs, should it be treated as major rather than minor?
    • At minimum, a changelog note highlighting “may cause existing specs to fail” would be very helpful.

Current workaround

  • For stability, we pinned versions:

    • ibm-openapi-validator to 1.35.3 (pre-change)
    • or @ibm-cloud/openapi-ruleset to 1.31.2
  • But for long-term we would really appreciate either a compatibility option or a migration guide.

Thanks again for your great work on this project, and we’d appreciate your guidance on how best to handle this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions