fix: missing 422 error code in openapi spec

This commit is contained in:
elmariss committed 2025-10-12 14:20:45 +02:00
1 parent 4b34a7d8b2
commit 737ec521b6
10 files changed
+368 -38

No files matched your search

+6 -4
View File
@@ -21,8 +21,9 @@ class OtherController extends Controller
new OA\Response(
response: 200,
description: 'Returns the version of the application',
content: new OA\JsonContent(
type: 'string',
content: new OA\MediaType(
mediaType: 'text/html',
schema: new OA\Schema(type: 'string'),
example: 'v4.0.0',
)),
new OA\Response(
@@ -166,8 +167,9 @@ class OtherController extends Controller
new OA\Response(
response: 200,
description: 'Healthcheck endpoint.',
content: new OA\JsonContent(
type: 'string',
content: new OA\MediaType(
mediaType: 'text/html',
schema: new OA\Schema(type: 'string'),
example: 'OK',
)),
new OA\Response(