Skip to content
Snippets Groups Projects
.spectral.yml 600 B
Newer Older
extends:
  - spectral:oas
Jonas Gröger's avatar
Jonas Gröger committed
  #  - https://italia.github.io/api-oas-checker/spectral.yml
  - https://italia.github.io/api-oas-checker/spectral-generic.yml
  - https://italia.github.io/api-oas-checker/spectral-security.yml
rules:
  no-default-additionalProperties: hint
  string-maxlength: hint
  typed-enum: error
  response-with-json-object: error

  # Disabled, since we don't want a /status endpoint.
  # See https://git.fitko.de/fit-connect/api/-/merge_requests/37
  paths-status: off
  paths-status-return-problem: off
  paths-status-problem-schema: off
Jonas Gröger's avatar
Jonas Gröger committed
  use-semver: off
  patch-media-type: off