diff --git a/docs/api/batch.md b/docs/api/batch.md index 730dacfb..7a661613 100644 --- a/docs/api/batch.md +++ b/docs/api/batch.md @@ -31,7 +31,7 @@ that the client has configured. If omitted, the `basic` transfer adapter MUST be assumed by the server. * `objects` - An Array of objects to download. * `oid` - String OID of the LFS object. - * `size` - Integer byte size of the LFS object. + * `size` - Integer byte size of the LFS object. Must be at least zero. Note: Git LFS currently only supports the `basic` transfer adapter. This property was added for future compatibility with some experimental transfer @@ -70,7 +70,7 @@ client will use the `basic` transfer adapter if the `transfer` property is omitted. * `objects` - An Array of objects to download. * `oid` - String OID of the LFS object. - * `size` - Integer byte size of the LFS object. + * `size` - Integer byte size of the LFS object. Must be at least zero. * `authenticated` - Optional boolean specifying whether the request for this specific object is authenticated. If omitted or false, Git LFS will attempt to [find credentials for this URL](./authentication.md). diff --git a/docs/api/schemas/http-batch-request-schema.json b/docs/api/schemas/http-batch-request-schema.json index f50e4451..95e22cf3 100644 --- a/docs/api/schemas/http-batch-request-schema.json +++ b/docs/api/schemas/http-batch-request-schema.json @@ -21,7 +21,8 @@ "type": "string" }, "size": { - "type": "number" + "type": "number", + "minimum": 0 }, "authenticated": { "type": "boolean"