openapi: set http return code according to standard

This commit is contained in:
Quaternions 2024-12-10 22:22:37 -08:00
parent afa78a1260
commit 0bc8eeffb3

View File

@ -61,7 +61,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"201":
description: Successful response
content:
application/json:
@ -119,7 +119,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -138,7 +138,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -157,7 +157,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -176,7 +176,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -195,7 +195,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -214,7 +214,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -233,7 +233,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -250,7 +250,7 @@ paths:
parameters:
- $ref: '#/components/parameters/SubmissionID'
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -267,7 +267,7 @@ paths:
parameters:
- $ref: '#/components/parameters/SubmissionID'
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -286,7 +286,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -309,7 +309,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"201":
description: Successful response
content:
application/json:
@ -389,7 +389,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -407,7 +407,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -430,7 +430,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"201":
description: Successful response
content:
application/json:
@ -481,7 +481,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error
@ -499,7 +499,7 @@ paths:
security:
- cookieAuth: []
responses:
"200":
"204":
description: Successful response
default:
description: General Error