mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-22 15:25:19 +00:00
Fix golang clients string -> int64 unmarshale error (#217)
This commit is contained in:
@@ -85,14 +85,14 @@ type ResizeRequest struct {
|
||||
// if provided, after resize, the image
|
||||
// will be cropped
|
||||
CropOptions *CropOptions `json:"cropOptions"`
|
||||
Height int64 `json:"height"`
|
||||
Height int64 `json:"height,string"`
|
||||
// output name of the image including extension, ie. "cat.png"
|
||||
Name string `json:"name"`
|
||||
// make output a URL and not a base64 response
|
||||
OutputUrl bool `json:"outputUrl"`
|
||||
// url of the image to resize
|
||||
Url string `json:"url"`
|
||||
Width int64 `json:"width"`
|
||||
Width int64 `json:"width,string"`
|
||||
}
|
||||
|
||||
type ResizeResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user