From 3956f3d7a6df3d2cb463b1c3646fe398786a0f2c Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Thu, 11 Apr 2024 09:21:54 -0400 Subject: [PATCH] fix changeset message Signed-off-by: aramissennyeydd --- .changeset/chatty-crabs-tap.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.changeset/chatty-crabs-tap.md b/.changeset/chatty-crabs-tap.md index 88871f817a..97ec05fb61 100644 --- a/.changeset/chatty-crabs-tap.md +++ b/.changeset/chatty-crabs-tap.md @@ -2,4 +2,17 @@ '@backstage/repo-tools': minor --- -Adds a lint rule to `repo schema openapi lint` to enforce `allowReserved: true`. +Adds a lint rule to `repo schema openapi lint` to enforce `allowReserved` for all parameters. To fix this, simply add `allowReserved: true` to your parameters, like so + +```diff +/v1/todos: + get: + operationId: ListTodos + # ... + parameters: + - name: entity + in: query ++ allowReserved: true + schema: + type: string +```