Skip to content

Commit d01a4d1

Browse files
Santosh MSantosh M
authored andcommitted
#DP-1352 fix: fixed the description issue
1 parent 7dcfe45 commit d01a4d1

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

apis/bulkapproveapi/bulkapproveapi.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ openapi: 3.0.0
22
info:
33
title: Bulk_Approve
44
termsOfService: "https://github.com/project-sunbird/sunbird-commons/blob/master/LICENSE"
5-
description: These api's are all about the bulk approval of the contents which includes scenarios like create, update, read and search operations in that.
5+
description: Bulk Approve service provides mechanism for CRUD operation for process used for bulk approval of content created via contribution mechanism.
66

77
contact:
88
@@ -16,7 +16,7 @@ paths:
1616
/program/v1/process/create:
1717
post:
1818
tags:
19-
- Success
19+
- Process
2020
summary: Process create
2121
operationId: Process create
2222
description: |-
@@ -144,7 +144,7 @@ paths:
144144
/program/v1/process/update:
145145
patch:
146146
tags:
147-
- Success
147+
- Process
148148
summary: Process update
149149
operationId: Process update
150150
description: |-
@@ -209,7 +209,7 @@ paths:
209209
result:
210210
process_id: 16264756-c71c-4061-a99c-bfab0556d047
211211
400:
212-
description: Update-Process-Error-40
212+
description: Update-Process-Error-400
213213
content:
214214
application/json:
215215
schema:
@@ -248,7 +248,7 @@ paths:
248248
/program/v1/process/read/98c5d59a-5e8d-41ec-99d4-9cad8fef5ee2:
249249
get:
250250
tags:
251-
- Success
251+
- Process
252252
summary: Process read
253253
operationId: Read process
254254
description: |-
@@ -336,7 +336,7 @@ paths:
336336
/program/v1/process/search:
337337
post:
338338
tags:
339-
- Success
339+
- Process
340340
summary: Process search
341341
operationId: Search process
342342
description: |-
@@ -546,18 +546,22 @@ components:
546546
type: integer
547547
format: int32
548548
description: Number of process in approve_success status
549+
example: 2
549550
approve_failed:
550551
type: integer
551552
format: int32
552553
description: Number of process in approve_failed status
554+
example: 3
553555
approve_pending:
554556
type: integer
555557
format: int32
556558
description: Number of process in approve_pending status
559+
example: 7
557560
total:
558561
type: integer
559562
format: int32
560563
description: Total number of process
564+
example: 12
561565
example:
562566
approve_success: 0
563567
approve_failed: 0

0 commit comments

Comments
 (0)