laravel 12 upgrade (#586)

* laravel 12 upgrade

* upgrade scribe to v5

* fix lint
This commit is contained in:
Saeed Vaziry
2025-04-21 21:56:53 +02:00
committed by GitHub
parent 76059aff3c
commit 6eb88c7c6e
52 changed files with 19140 additions and 26710 deletions

View File

@ -12,10 +12,9 @@ endpoints:
subgroupDescription: ''
title: list
description: 'Get all services.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -33,7 +32,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -41,7 +40,7 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
server_id: 32
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -50,15 +49,12 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":null,"server_id":null,"type":null,"type_data":null,"name":null,"version":null,"unit":null,"status":null,"is_default":null,"created_at":null,"updated_at":null},{"id":null,"server_id":null,"type":null,"type_data":null,"name":null,"version":null,"unit":null,"status":null,"is_default":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":null,"server_id":1,"type":"webserver","type_data":null,"name":"nginx","version":null,"unit":null,"status":"ready","is_default":null,"created_at":null,"updated_at":null},{"id":null,"server_id":1,"type":"webserver","type_data":null,"name":"nginx","version":null,"unit":null,"status":"ready","is_default":null,"created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer gVEce46k8aZfaP3d15vbhD6'
auth: []
controller: null
method: null
route: null
@ -74,10 +70,9 @@ endpoints:
subgroupDescription: ''
title: show
description: 'Get a service by ID.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -95,7 +90,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -105,7 +100,7 @@ endpoints:
name: id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -113,8 +108,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
id: 169
server_id: 32
id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -123,15 +118,12 @@ endpoints:
responses:
-
status: 200
content: '{"id":null,"server_id":null,"type":null,"type_data":null,"name":null,"version":null,"unit":null,"status":null,"is_default":null,"created_at":null,"updated_at":null}'
content: '{"id":null,"server_id":1,"type":"webserver","type_data":null,"name":"nginx","version":null,"unit":null,"status":"ready","is_default":null,"created_at":null,"updated_at":null}'
headers: []
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer Ef8D5gbV6cadk3Zh1vP46ea'
auth: []
controller: null
method: null
route: null
@ -147,10 +139,9 @@ endpoints:
subgroupDescription: ''
title: start
description: 'Start service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -168,7 +159,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -178,7 +169,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -186,8 +177,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -201,10 +192,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer b3DckZ8g6ha6aPe4f5V1vdE'
auth: []
controller: null
method: null
route: null
@ -220,10 +208,9 @@ endpoints:
subgroupDescription: ''
title: stop
description: 'Stop service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -241,7 +228,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -251,7 +238,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -259,8 +246,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -274,10 +261,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer 1e8aZbfvE5643DacgkPhdV6'
auth: []
controller: null
method: null
route: null
@ -293,10 +277,9 @@ endpoints:
subgroupDescription: ''
title: restart
description: 'Restart service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -314,7 +297,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -324,7 +307,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -332,8 +315,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -347,10 +330,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer c46baVZEg5dv1Pfe8Dha6k3'
auth: []
controller: null
method: null
route: null
@ -366,10 +346,9 @@ endpoints:
subgroupDescription: ''
title: enable
description: 'Enable service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -387,7 +366,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -397,7 +376,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -405,8 +384,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -420,10 +399,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer EvcehkDbdV43f61P86Za5ga'
auth: []
controller: null
method: null
route: null
@ -439,10 +415,9 @@ endpoints:
subgroupDescription: ''
title: disable
description: 'Disable service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -460,7 +435,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -470,7 +445,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -478,8 +453,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -493,10 +468,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer k8E5gf6d4h31bevaa6cVPZD'
auth: []
controller: null
method: null
route: null
@ -512,10 +484,9 @@ endpoints:
subgroupDescription: ''
title: delete
description: 'Delete service.'
authenticated: true
authenticated: false
custom: []
headers:
Authorization: 'Bearer YOUR-API-KEY'
Content-Type: application/json
Accept: application/json
urlParameters:
@ -533,7 +504,7 @@ endpoints:
name: server_id
description: 'The ID of the server.'
required: true
example: 29
example: 32
type: integer
enumValues: []
exampleWasSpecified: false
@ -543,7 +514,7 @@ endpoints:
name: service_id
description: 'The ID of the service.'
required: true
example: 169
example: 184
type: integer
enumValues: []
exampleWasSpecified: false
@ -551,8 +522,8 @@ endpoints:
custom: []
cleanUrlParameters:
project_id: 1
server_id: 29
service_id: 169
server_id: 32
service_id: 184
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -566,10 +537,7 @@ endpoints:
description: ''
custom: []
responseFields: []
auth:
- headers
- Authorization
- 'Bearer Pekav16cd5ag486ZfD3EVbh'
auth: []
controller: null
method: null
route: null