Skip to content

Commit 76a0f25

Browse files
committed
feat: error description for an empty page
1 parent 37e443b commit 76a0f25

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/2025-02-10.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,16 @@ paths:
345345
$ref: "#/components/schemas/StartupListItem"
346346
"400":
347347
description: Bad Request
348+
"404":
349+
description: No startups available.
350+
content:
351+
application/json:
352+
schema:
353+
type: object
354+
properties:
355+
error:
356+
type: string
357+
example: "There are no startups available."
348358
/startup:
349359
get:
350360
summary: Get startup details

0 commit comments

Comments
 (0)