Skip to content

Validation with e.g. redocly fails with 34 errors and 58 warnings #53

@jorgenosberg

Description

@jorgenosberg

Types of errors:

  • Server url should not have a trailing slash. Rule: no-server-trailing-slash.
  • Operation object should contain summary field. Rule: operation-summary.
  • Every operation should have security defined on it or on the root level. Rule: security-defined.

Types of warnings:

  • Info object should contain license field. Rule: info-license.
  • Operation must have at least one 4XX response. Rule: operation-4xx-response.
  • Operation object should contain operationId field. Rule: operation-operationId.
  • Component: "collectionResponse" is never used. Rule: no-unused-components.
  • Required property 'number' is undefined. Rule: no-required-schema-properties-undefined.

This list is not exhaustive, just a list of one occurrence per type of error/warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    tooling-breakageChanges that break or degrade compatibility with OpenAPI tooling, generators, or validators.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions