|
@@ -51,13 +51,13 @@ SWAGGER_DOC_API = {
|
51
|
51
|
'get': {
|
52
|
52
|
'description': 'General information about this API.',
|
53
|
53
|
'responses': {200: {
|
54
|
|
- 'description': 200,
|
|
54
|
+ 'description': '200',
|
55
|
55
|
'schema': {'$ref': '#/definitions/AboutResponseSchema'}}}}}),
|
56
|
56
|
('/users', {
|
57
|
57
|
'get': {
|
58
|
58
|
'description': 'Obtain users list.',
|
59
|
59
|
'responses': {200: {
|
60
|
|
- 'description': 200,
|
|
60
|
+ 'description': '200',
|
61
|
61
|
'schema': {'$ref': '#/definitions/ListsUserSchema'}}}}}),
|
62
|
62
|
('/users/{id}', {
|
63
|
63
|
'delete': {
|
|
@@ -67,7 +67,7 @@ SWAGGER_DOC_API = {
|
67
|
67
|
'required': True,
|
68
|
68
|
'type': 'integer'}],
|
69
|
69
|
'responses': {204: {
|
70
|
|
- 'description': 204,
|
|
70
|
+ 'description': '204',
|
71
|
71
|
'schema': {'$ref': '#/definitions/NoContentSchema'}}}},
|
72
|
72
|
'get': {
|
73
|
73
|
'description': 'Obtain one user',
|
|
@@ -76,7 +76,7 @@ SWAGGER_DOC_API = {
|
76
|
76
|
'required': True,
|
77
|
77
|
'type': 'integer'}],
|
78
|
78
|
'responses': {200: {
|
79
|
|
- 'description': 200,
|
|
79
|
+ 'description': '200',
|
80
|
80
|
'schema': {'$ref': '#/definitions/UserSchema'}}}}}),
|
81
|
81
|
('/users/', {
|
82
|
82
|
'post': {
|
|
@@ -85,7 +85,7 @@ SWAGGER_DOC_API = {
|
85
|
85
|
'name': 'body',
|
86
|
86
|
'schema': {'$ref': '#/definitions/UserSchema'}}],
|
87
|
87
|
'responses': {200: {
|
88
|
|
- 'description': 200,
|
|
88
|
+ 'description': '200',
|
89
|
89
|
'schema': {'$ref': '#/definitions/UserSchema'}}}}})]),
|
90
|
90
|
'swagger': '2.0',
|
91
|
91
|
'tags': []
|