Fix user-facing string case.
This commit is contained in:
		@@ -84,7 +84,7 @@ class DeployController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Deployments'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Deployment Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Deployment UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
@@ -147,7 +147,7 @@ class DeployController extends Controller
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
                response: 200,
 | 
			
		||||
                description: 'Get deployment(s) Uuid\'s',
 | 
			
		||||
                description: 'Get deployment(s) UUID\'s',
 | 
			
		||||
                content: [
 | 
			
		||||
                    new OA\MediaType(
 | 
			
		||||
                        mediaType: 'application/json',
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ class ProjectController extends Controller
 | 
			
		||||
{
 | 
			
		||||
    #[OA\Get(
 | 
			
		||||
        summary: 'List',
 | 
			
		||||
        description: 'list projects.',
 | 
			
		||||
        description: 'List projects.',
 | 
			
		||||
        path: '/projects',
 | 
			
		||||
        security: [
 | 
			
		||||
            ['bearerAuth' => []],
 | 
			
		||||
@@ -54,7 +54,7 @@ class ProjectController extends Controller
 | 
			
		||||
 | 
			
		||||
    #[OA\Get(
 | 
			
		||||
        summary: 'Get',
 | 
			
		||||
        description: 'Get project by Uuid.',
 | 
			
		||||
        description: 'Get project by UUID.',
 | 
			
		||||
        path: '/projects/{uuid}',
 | 
			
		||||
        security: [
 | 
			
		||||
            ['bearerAuth' => []],
 | 
			
		||||
@@ -136,7 +136,7 @@ class ProjectController extends Controller
 | 
			
		||||
            return invalidTokenResponse();
 | 
			
		||||
        }
 | 
			
		||||
        if (! $request->uuid) {
 | 
			
		||||
            return response()->json(['message' => 'Uuid is required.'], 422);
 | 
			
		||||
            return response()->json(['message' => 'UUID is required.'], 422);
 | 
			
		||||
        }
 | 
			
		||||
        if (! $request->environment_name) {
 | 
			
		||||
            return response()->json(['message' => 'Environment name is required.'], 422);
 | 
			
		||||
@@ -333,7 +333,7 @@ class ProjectController extends Controller
 | 
			
		||||
        }
 | 
			
		||||
        $uuid = $request->uuid;
 | 
			
		||||
        if (! $uuid) {
 | 
			
		||||
            return response()->json(['message' => 'Uuid is required.'], 422);
 | 
			
		||||
            return response()->json(['message' => 'UUID is required.'], 422);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $project = Project::whereTeamId($teamId)->whereUuid($uuid)->first();
 | 
			
		||||
@@ -408,7 +408,7 @@ class ProjectController extends Controller
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (! $request->uuid) {
 | 
			
		||||
            return response()->json(['message' => 'Uuid is required.'], 422);
 | 
			
		||||
            return response()->json(['message' => 'UUID is required.'], 422);
 | 
			
		||||
        }
 | 
			
		||||
        $project = Project::whereTeamId($teamId)->whereUuid($request->uuid)->first();
 | 
			
		||||
        if (! $project) {
 | 
			
		||||
 
 | 
			
		||||
@@ -73,7 +73,7 @@ class SecurityController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Private Keys'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Private Key Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Private Key UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
@@ -318,7 +318,7 @@ class SecurityController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Private Keys'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Private Key Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Private Key UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
 
 | 
			
		||||
@@ -105,7 +105,7 @@ class ServersController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Servers'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
@@ -182,7 +182,7 @@ class ServersController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Servers'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
@@ -259,7 +259,7 @@ class ServersController extends Controller
 | 
			
		||||
        ],
 | 
			
		||||
        tags: ['Servers'],
 | 
			
		||||
        parameters: [
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s Uuid', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
            new OA\Parameter(name: 'uuid', in: 'path', required: true, description: 'Server\'s UUID', schema: new OA\Schema(type: 'string')),
 | 
			
		||||
        ],
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
 
 | 
			
		||||
@@ -375,7 +375,7 @@ class ServicesController extends Controller
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
                response: 200,
 | 
			
		||||
                description: 'Get a service by Uuid.',
 | 
			
		||||
                description: 'Get a service by UUID.',
 | 
			
		||||
                content: [
 | 
			
		||||
                    new OA\MediaType(
 | 
			
		||||
                        mediaType: 'application/json',
 | 
			
		||||
@@ -432,7 +432,7 @@ class ServicesController extends Controller
 | 
			
		||||
        responses: [
 | 
			
		||||
            new OA\Response(
 | 
			
		||||
                response: 200,
 | 
			
		||||
                description: 'Delete a service by Uuid',
 | 
			
		||||
                description: 'Delete a service by UUID',
 | 
			
		||||
                content: [
 | 
			
		||||
                    new OA\MediaType(
 | 
			
		||||
                        mediaType: 'application/json',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user