Skip to content

Commit

Permalink
feat: add message for empty start and end date
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonali Tanavade authored and jeloba committed Sep 11, 2024
1 parent 55b89af commit 0c496cf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -7276,6 +7276,20 @@ curl \
"4265b702-9a69-38ca-bb45-bcad9ee7d910",2024-01-14T23:06:58Z,en,"api/v1/checking/scorecards/4265b702-9a69-38ca-bb45-bcad9ee7d910","9d38800b-89ae-396c-ae11-1de419f13a8f",Yak-1,,Yak-1,,35,red,20,1119,47,"Essentials English 2","2bd7dbcb-5510-4cdf-b054-0f275d3047c2",,,"96e79a50-97f9-3721-a755-0e9616c26a0b","AbcFull XyzName",webchecker,v1,"f5b8573c-e603-46d7-8af0-512d199d478b",check,developers,junior,draft,57,6,76,40,19,45,42,3,2,8,2,5,5,3
"0521406f-ccf1-3acf-904a-7452766df8d7",2024-01-15T05:34:06Z,en,"api/v1/checking/scorecards/0521406f-ccf1-3acf-904a-7452766df8d7","77ad4993-80f1-31ec-9aef-1a33d2021a86",Su-22,,Su-22,,52,yellow,20,504,41,"Essentials English 2","2bd7dbcb-5510-4cdf-b054-0f275d3047c2","710eed98-732b-3668-8a67-f4294d9a7ff4",Wade,"96e79a50-97f9-3721-a755-0e9616c26a0b","AbcFull XyzName",webchecker,v1,"f5b8573c-e603-46d7-8af0-512d199d478b",check,developers,senior,draft,15,64,84,42,43,30,85,4,2,6,6,3,0,9

+ Response 400 (application/json)

{
"code": 400,
"message": "Provide a start date."
}

+ Response 400 (application/json)

{
"code": 400,
"message": "Provide an end date."
}

+ Response 400 (application/json)

{
Expand Down Expand Up @@ -7439,6 +7453,20 @@ curl \
"4bbdc491-6821-3b53-8881-001553987b69",2023-10-29,"hello woorld",woorld,sentence,"en_CONSISTENCY_Guideline_id-9","CONSISTENCY guideline id 9 display name",en,syntax
"4bbdc491-6821-3b53-8881-001553987b69",2023-10-29,"hello woorld",woorld,sentence,"en_CONSISTENCY_Guideline_id-2","CONSISTENCY guideline id 2 display name",en,syntax

+ Response 400 (application/json)

{
"code": 400,
"message": "Provide a start date."
}

+ Response 400 (application/json)

{
"code": 400,
"message": "Provide an end date."
}

+ Response 400 (application/json)

{
Expand Down

0 comments on commit 0c496cf

Please sign in to comment.