diff --git a/js/config.mjs b/js/config.mjs index e63a7f25..e1f770e5 100644 --- a/js/config.mjs +++ b/js/config.mjs @@ -96,10 +96,10 @@ loadRespecWithConfiguration({ ], github: "https://github.com/Logius-standaarden/API-Design-Rules", pubDomain: "api", - publishDate: "2026-06-02", - publishVersion: "2.2.0", - previousPublishDate: "2025-08-27", - previousPublishVersion: "2.1.0", + publishDate: "2026-06-18", + publishVersion: "2.2.1", + previousPublishDate: "2026-06-02", + previousPublishVersion: "2.2.0", shortName: "adr", specStatus: "DEF", specType: "ST", diff --git a/media/linter.yaml b/media/linter.yaml index c096d7b8..207652a0 100644 --- a/media/linter.yaml +++ b/media/linter.yaml @@ -171,20 +171,8 @@ rules: functionOptions: match: ^\$?[a-z][a-z\d]*([A-Z][a-z\d]*)*$ - nlgov:schema-camel-case: - severity: warn - message: "Schema name should be UpperCamelCase in {{path}}" - given: >- - $.components.schemas[*]~ - then: - function: casing - functionOptions: - type: pascal - separator: - char: "" - nlgov:servers-use-https: - severity: warn + severity: error message: "Server URL {{value}} {{error}}." given: - $.servers[*] @@ -243,17 +231,6 @@ rules: required: - "400" - nlgov:property-casing: - severity: warn - given: - - "$.*.schemas[*].properties.[?(@property && @property.match(/_links/i))]" - then: - function: casing - functionOptions: - type: camel - field: "@key" - message: Properties must be lowerCamelCase. - #/core/date-time/timezone nlgov:date-time-ensure-timezone: severity: error