Skip to content

Commit

Permalink
Update response codes to standard names
Browse files Browse the repository at this point in the history
  • Loading branch information
davidianstyle committed Feb 28, 2024
1 parent 6dd9bf2 commit 673b372
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions app/openapispec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ paths:
- resumes
responses:
'200':
description: Successful response
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ResumeResponse'
'404':
description: No resumes found
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
default:
description: Unexpected error
description: Unexpected Error
content:
application/json:
schema:
Expand All @@ -51,13 +51,13 @@ paths:
- resumes
responses:
'200':
description: Successful response
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ResumesResponse'
default:
description: Unexpected error
description: Unexpected Error
content:
application/json:
schema:
Expand All @@ -82,7 +82,7 @@ paths:
schema:
$ref: '#/components/schemas/ResumeResponse'
default:
description: Unexpected error
description: Unexpected Error
content:
application/json:
schema:
Expand All @@ -103,19 +103,19 @@ paths:
type: string
responses:
'200':
description: Successful response
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ResumeResponse'
'404':
description: Resumé not found
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
default:
description: Unexpected error
description: Unexpected Error
content:
application/json:
schema:
Expand All @@ -141,7 +141,7 @@ paths:
$ref: '#/components/schemas/ResumeRequest'
responses:
'200':
description: Successful response
description: OK
content:
application/json:
schema:
Expand All @@ -153,13 +153,13 @@ paths:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resumé not found
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
default:
description: Unexpected error
description: Unexpected Error
content:
application/json:
schema:
Expand All @@ -179,19 +179,19 @@ paths:
type: string
responses:
'200':
description: Successful response
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
'404':
description: Resumé not found
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Failed to delete resumé
description: Internal Server Error
content:
application/json:
schema:
Expand Down

0 comments on commit 673b372

Please sign in to comment.