fix: openapi endpoint urls
This commit is contained in:
@@ -13,6 +13,7 @@ class OtherController extends Controller
|
||||
summary: 'Version',
|
||||
description: 'Get Coolify version.',
|
||||
path: '/version',
|
||||
operationId: 'version',
|
||||
security: [
|
||||
['bearerAuth' => []],
|
||||
],
|
||||
@@ -43,6 +44,7 @@ class OtherController extends Controller
|
||||
summary: 'Enable API',
|
||||
description: 'Enable API (only with root permissions).',
|
||||
path: '/enable',
|
||||
operationId: 'enable-api',
|
||||
security: [
|
||||
['bearerAuth' => []],
|
||||
],
|
||||
@@ -94,6 +96,7 @@ class OtherController extends Controller
|
||||
summary: 'Disable API',
|
||||
description: 'Disable API (only with root permissions).',
|
||||
path: '/disable',
|
||||
operationId: 'disable-api',
|
||||
security: [
|
||||
['bearerAuth' => []],
|
||||
],
|
||||
@@ -158,6 +161,7 @@ class OtherController extends Controller
|
||||
summary: 'Healthcheck',
|
||||
description: 'Healthcheck endpoint.',
|
||||
path: '/healthcheck',
|
||||
operationId: 'healthcheck',
|
||||
responses: [
|
||||
new OA\Response(
|
||||
response: 200,
|
||||
|
||||
Reference in New Issue
Block a user