From e81edaa5ac9669928787e629826696b62ee25da5 Mon Sep 17 00:00:00 2001 From: HoldYourWaffle Date: Sun, 4 Sep 2022 19:15:33 +0200 Subject: [PATCH] Remove maxLength for operationObject/summary in the v1.2 spec See https://github.com/OAI/OpenAPI-Specification/blob/main/versions/1.2.md#523-operation-object. The maximum of 120 characters is a "SHOULD", which according to RFC 2119 is a mere recommendation. --- schemas/v1.2/operationObject.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/v1.2/operationObject.json b/schemas/v1.2/operationObject.json index 371a6cc82c..5661251eb7 100644 --- a/schemas/v1.2/operationObject.json +++ b/schemas/v1.2/operationObject.json @@ -8,7 +8,7 @@ "required": [ "method", "nickname", "parameters" ], "properties": { "method": { "enum": [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS" ] }, - "summary": { "type": "string", "maxLength": 120 }, + "summary": { "type": "string" }, "notes": { "type": "string" }, "nickname": { "type": "string",