OpenApi: Add tags

This commit is contained in:
2019-10-04 00:33:01 +02:00
parent f7feb513e0
commit 5b44d4766d

View File

@@ -80,6 +80,7 @@ paths:
- JWTAuth: [] - JWTAuth: []
summary: Get Citizen summary: Get Citizen
tags: tags:
- vote
- citizen - citizen
operationId: getCitizenVotes operationId: getCitizenVotes
parameters: parameters:
@@ -343,6 +344,7 @@ paths:
summary: Get comments of one article summary: Get comments of one article
tags: tags:
- comment - comment
- article
responses: responses:
200: 200:
description: Return Comment and children description: Return Comment and children
@@ -356,6 +358,7 @@ paths:
summary: Create Comment to article summary: Create Comment to article
tags: tags:
- comment - comment
- article
requestBody: requestBody:
content: content:
application/json: application/json:
@@ -375,6 +378,7 @@ paths:
summary: Get comment and children of one constitution summary: Get comment and children of one constitution
tags: tags:
- comment - comment
- constitution
responses: responses:
200: 200:
description: Return Comment and children description: Return Comment and children
@@ -388,6 +392,7 @@ paths:
summary: Create Comment to constitution summary: Create Comment to constitution
tags: tags:
- comment - comment
- constitution
requestBody: requestBody:
content: content:
application/json: application/json:
@@ -409,6 +414,7 @@ paths:
summary: Follow one article summary: Follow one article
tags: tags:
- follow - follow
- article
responses: responses:
201: 201:
description: Return only http status 201 on success description: Return only http status 201 on success
@@ -418,6 +424,7 @@ paths:
summary: Unfollow one article summary: Unfollow one article
tags: tags:
- follow - follow
- article
responses: responses:
204: 204:
description: Return only http status 204 on success description: Return only http status 204 on success
@@ -430,6 +437,7 @@ paths:
summary: Follow one constitution summary: Follow one constitution
tags: tags:
- follow - follow
- constitution
responses: responses:
201: 201:
description: Return only http status 201 on success description: Return only http status 201 on success
@@ -439,6 +447,7 @@ paths:
summary: Unfollow one constitution summary: Unfollow one constitution
tags: tags:
- follow - follow
- constitution
responses: responses:
204: 204:
description: Return only http status 204 on success description: Return only http status 204 on success
@@ -451,6 +460,7 @@ paths:
summary: Vote for one article summary: Vote for one article
tags: tags:
- vote - vote
- article
requestBody: requestBody:
content: content:
application/json: application/json:
@@ -473,6 +483,7 @@ paths:
summary: Vote for one constitution summary: Vote for one constitution
tags: tags:
- vote - vote
- constitution
requestBody: requestBody:
content: content:
application/json: application/json:
@@ -491,6 +502,8 @@ paths:
summary: all article vote for one citizen summary: all article vote for one citizen
tags: tags:
- vote - vote
- article
- citizen
responses: responses:
201: 201:
description: Votes description: Votes