update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
basePath: /api
|
||||
basePath: /
|
||||
definitions:
|
||||
model.Message:
|
||||
properties:
|
||||
@@ -6,6 +6,17 @@ definitions:
|
||||
example: message
|
||||
type: string
|
||||
type: object
|
||||
stdmodels.StandardError:
|
||||
properties:
|
||||
description:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
message:
|
||||
type: string
|
||||
status:
|
||||
type: integer
|
||||
type: object
|
||||
info:
|
||||
contact:
|
||||
email: developerdurp@durp.info
|
||||
@@ -60,7 +71,7 @@ paths:
|
||||
"500":
|
||||
description: error
|
||||
schema:
|
||||
$ref: '#/definitions/model.Message'
|
||||
$ref: '#/definitions/stdmodels.StandardError'
|
||||
security:
|
||||
- Authorization: []
|
||||
summary: Generate dadjoke
|
||||
@@ -80,7 +91,7 @@ paths:
|
||||
"500":
|
||||
description: error
|
||||
schema:
|
||||
$ref: '#/definitions/model.Message'
|
||||
$ref: '#/definitions/stdmodels.StandardError'
|
||||
security:
|
||||
- Authorization: []
|
||||
summary: Get dadjoke
|
||||
@@ -106,7 +117,7 @@ paths:
|
||||
"500":
|
||||
description: error
|
||||
schema:
|
||||
$ref: '#/definitions/model.Message'
|
||||
$ref: '#/definitions/stdmodels.StandardError'
|
||||
security:
|
||||
- Authorization: []
|
||||
summary: Generate dadjoke
|
||||
|
||||
Reference in New Issue
Block a user