diff --git a/src/docs/docs.go b/src/docs/docs.go index a5c6c94..505e88b 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -337,7 +337,7 @@ const docTemplate = `{ } } }, - "/v1/images/": { + "/v1/images": { "post": { "description": "Returns the data of image. If updating pet, add petId. If creating pet, petId is not specified, but keep the imageId.", "consumes": [ @@ -1493,8 +1493,7 @@ const docTemplate = `{ "type": "object", "required": [ "data", - "filename", - "pet_id" + "filename" ], "properties": { "data": { diff --git a/src/docs/swagger.json b/src/docs/swagger.json index f8bedf5..3c1927f 100644 --- a/src/docs/swagger.json +++ b/src/docs/swagger.json @@ -333,7 +333,7 @@ } } }, - "/v1/images/": { + "/v1/images": { "post": { "description": "Returns the data of image. If updating pet, add petId. If creating pet, petId is not specified, but keep the imageId.", "consumes": [ @@ -1489,8 +1489,7 @@ "type": "object", "required": [ "data", - "filename", - "pet_id" + "filename" ], "properties": { "data": { diff --git a/src/docs/swagger.yaml b/src/docs/swagger.yaml index 844a452..0a6164f 100644 --- a/src/docs/swagger.yaml +++ b/src/docs/swagger.yaml @@ -377,7 +377,6 @@ definitions: required: - data - filename - - pet_id type: object dto.User: properties: @@ -624,7 +623,7 @@ paths: summary: Signup user tags: - auth - /v1/images/: + /v1/images: post: consumes: - application/json