Skip to content

Commit c06c79b

Browse files
Remove maxLength for operationObject/summary in the v1.2 spec (#3018)
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.
1 parent 17fa240 commit c06c79b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemas/v1.2/operationObject.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"required": [ "method", "nickname", "parameters" ],
99
"properties": {
1010
"method": { "enum": [ "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS" ] },
11-
"summary": { "type": "string", "maxLength": 120 },
11+
"summary": { "type": "string" },
1212
"notes": { "type": "string" },
1313
"nickname": {
1414
"type": "string",

0 commit comments

Comments
 (0)