docs: Fix JsonSuccess and JsonError models.

This commit is contained in:
Yago González 2017-05-23 20:22:50 -07:00 committed by Tim Abbott
parent c7c47fe11d
commit 9f329f6597
1 changed files with 4 additions and 4 deletions

View File

@ -419,23 +419,23 @@ definitions:
- msg
- result
properties:
msg:
type: string
result:
type: string
JsonSuccess:
allOf:
- $ref: '#/definitions/JsonResponse'
properties:
- properties:
msg:
type: string
default: success
JsonError:
allOf:
- $ref: '#/definitions/JsonResponse'
properties:
- properties:
msg:
type: string
default: error
# /messages