stoplightio / spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.
https://stoplight.io/spectral
Apache License 2.0
2.35k stars 226 forks source link

operation-operationId-valid-in-url message needs small updates #2605

Open dtolb opened 3 months ago

dtolb commented 3 months ago

For support questions, please use the Stoplight Discord Community. This repository's issues are reserved for feature requests and bug reports. If you are unsure if you are experiencing a bug, our Discord is a great place to start.

Please delete this section, any any sections below that you don't use, before creating the issue.

Describe the bug operation-operationId-valid-in-url messge is missing "contains"

To Reproduce

  1. make the rule fail
  2. read the message and see it's missing a word
  3. See error

Expected behavior Grammatically correct-ish messages.

Environment (remove any that are not applicable):