Skip to content
Last updated

What platform did you use?

Vs code

Are there any visual improvements you would suggest for the on-hover tooltip?

N/A

Share your rules.

rules:
  rule/operationId-casing:
    subject:
      type: Operation
      property: operationId
    assertions:
      casing: snake_case
  rule/tag-max-length:
    subject:
      type: Tag
      property: description
    assertions:
      maxLength: 30
  rule/parameters-examples:
    subject:
      type: Parameter
    assertions:
      requireAny:
        - example
        - examples
extends:
  - recommended

What made you smile?

  • Pretty easy to configure linting
  • Various set of rules
  • Really nice docs =)

What did you find confusing?

Bug with duplicated paths

If we have duplicate paths, all error highlighting disappears -_-

image copy 3.png

Before duplication (expected behavior):

image copy.png

After duplication:

after-duplication.png

Bug with requireAny

 rule/parameters-examples:
    subject:
      type: Parameter
    assertions:
      requireAny:
        - example
        - examples
extends:
  - recommended

We have the error at the Root when we change example to examples

image copy 4.pngimage copy 5.png

What is missing or misleading in the Café API description?

N/A