From 1434bc978f0dc2e25455974903c040230b36101b Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 10 May 2018 22:17:43 -0700 Subject: basic creator POST --- golang/gen/restapi/operations/post_creator_responses.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'golang/gen/restapi/operations') diff --git a/golang/gen/restapi/operations/post_creator_responses.go b/golang/gen/restapi/operations/post_creator_responses.go index dcf661a5..ee95d2e4 100644 --- a/golang/gen/restapi/operations/post_creator_responses.go +++ b/golang/gen/restapi/operations/post_creator_responses.go @@ -25,7 +25,7 @@ type PostCreatorCreated struct { /* In: Body */ - Payload *models.CreatorEntity `json:"body,omitempty"` + Payload *models.EntityEdit `json:"body,omitempty"` } // NewPostCreatorCreated creates PostCreatorCreated with default headers values @@ -35,13 +35,13 @@ func NewPostCreatorCreated() *PostCreatorCreated { } // WithPayload adds the payload to the post creator created response -func (o *PostCreatorCreated) WithPayload(payload *models.CreatorEntity) *PostCreatorCreated { +func (o *PostCreatorCreated) WithPayload(payload *models.EntityEdit) *PostCreatorCreated { o.Payload = payload return o } // SetPayload sets the payload to the post creator created response -func (o *PostCreatorCreated) SetPayload(payload *models.CreatorEntity) { +func (o *PostCreatorCreated) SetPayload(payload *models.EntityEdit) { o.Payload = payload } -- cgit v1.2.3