diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index d67685cd422f..2e0dce98c58b 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -218038,7 +218038,7 @@ "type": "string", "name": "sha", "in": "body", - "description": "

The commit SHA associated with this dependency snapshot.

", + "description": "

The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.

", "isRequired": true }, { diff --git a/lib/rest/static/decorated/ghec.json b/lib/rest/static/decorated/ghec.json index 31ed11bf9cdb..b79406b63d8e 100644 --- a/lib/rest/static/decorated/ghec.json +++ b/lib/rest/static/decorated/ghec.json @@ -218488,7 +218488,7 @@ "type": "string", "name": "sha", "in": "body", - "description": "

The commit SHA associated with this dependency snapshot.

", + "description": "

The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.

", "isRequired": true }, { diff --git a/lib/rest/static/decorated/ghes-3.7.json b/lib/rest/static/decorated/ghes-3.7.json index 5937e6d5a968..f1a33aa6a3e5 100644 --- a/lib/rest/static/decorated/ghes-3.7.json +++ b/lib/rest/static/decorated/ghes-3.7.json @@ -175873,7 +175873,7 @@ "type": "string", "name": "sha", "in": "body", - "description": "

The commit SHA associated with this dependency snapshot.

", + "description": "

The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.

", "isRequired": true }, { diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index d4f34cb8b49a..09dae071d1b2 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -252320,9 +252320,10 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", "type": "string", "minLength": 40, + "maxLength": 40, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] diff --git a/lib/rest/static/dereferenced/ghec.deref.json b/lib/rest/static/dereferenced/ghec.deref.json index 70f8f5332862..75eac03cd88a 100644 --- a/lib/rest/static/dereferenced/ghec.deref.json +++ b/lib/rest/static/dereferenced/ghec.deref.json @@ -255833,9 +255833,10 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", "type": "string", "minLength": 40, + "maxLength": 40, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ] diff --git a/lib/rest/static/dereferenced/ghes-3.7.deref.json b/lib/rest/static/dereferenced/ghes-3.7.deref.json index f4d296dfbc23..73a7bec63d9d 100644 --- a/lib/rest/static/dereferenced/ghes-3.7.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.7.deref.json @@ -234629,9 +234629,10 @@ "additionalProperties": false }, "sha": { - "description": "The commit SHA associated with this dependency snapshot.", + "description": "The commit SHA associated with this dependency snapshot. Maximum length: 40 characters.", "type": "string", "minLength": 40, + "maxLength": 40, "examples": [ "ddc951f4b1293222421f2c8df679786153acf689" ]