diff --git a/docs/docs.go b/docs/docs.go index 05b7094..d076a34 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -596,13 +596,16 @@ const docTemplate = `{ "type": "object", "properties": { "event_detail": { - "type": "string" + "type": "string", + "example": "{\"title\":\"test event\",\"description\":\"test event description\"}" }, "event_time_end": { - "type": "string" + "type": "string", + "example": "2021/01/01 00:00" }, "event_time_start": { - "type": "string" + "type": "string", + "example": "2021/01/01 00:00" }, "id": { "type": "string" diff --git a/docs/swagger.json b/docs/swagger.json index 211cc65..f7a1452 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -585,13 +585,16 @@ "type": "object", "properties": { "event_detail": { - "type": "string" + "type": "string", + "example": "{\"title\":\"test event\",\"description\":\"test event description\"}" }, "event_time_end": { - "type": "string" + "type": "string", + "example": "2021/01/01 00:00" }, "event_time_start": { - "type": "string" + "type": "string", + "example": "2021/01/01 00:00" }, "id": { "type": "string" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 86410b7..f95ce76 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -2,10 +2,13 @@ definitions: bikefest_pkg_model.CreateEventRequest: properties: event_detail: + example: '{"title":"test event","description":"test event description"}' type: string event_time_end: + example: 2021/01/01 00:00 type: string event_time_start: + example: 2021/01/01 00:00 type: string id: type: string