Skip to content

Commit ef3ff95

Browse files
committed
fix: merge conflict
Signed-off-by: Matias Perrone <github@matiasperrone.com>
1 parent 3c0f3d9 commit ef3ff95

2 files changed

Lines changed: 0 additions & 49 deletions

File tree

app/Swagger/CompaniesSchemas.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,6 @@
66

77
// Companies Schemas
88

9-
#[OA\Schema(
10-
schema: "PaginatedCompaniesResponse",
11-
description: "Paginated response for Companies",
12-
properties: [
13-
new OA\Property(property: "total", type: "integer", example: 100),
14-
new OA\Property(property: "per_page", type: "integer", example: 15),
15-
new OA\Property(property: "current_page", type: "integer", example: 1),
16-
new OA\Property(property: "last_page", type: "integer", example: 7),
17-
new OA\Property(
18-
property: "data",
19-
type: "array",
20-
items: new OA\Items(ref: "#/components/schemas/Company")
21-
),
22-
],
23-
type: "object"
24-
)]
25-
class PaginatedCompaniesResponseSchema
26-
{
27-
}
28-
299
#[OA\Schema(
3010
schema: "CompanyCreateRequest",
3111
description: "Request to create a Company",

app/Swagger/RegistrationCompaniesSchemas.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,6 @@
44

55
use OpenApi\Attributes as OA;
66

7-
#[OA\Schema(
8-
schema: 'Company',
9-
type: 'object',
10-
description: 'Base company information (public view)',
11-
properties: [
12-
new OA\Property(property: 'id', type: 'integer'),
13-
new OA\Property(property: 'created', type: 'integer'),
14-
new OA\Property(property: 'last_edited', type: 'integer'),
15-
new OA\Property(property: 'name', type: 'string'),
16-
new OA\Property(property: 'url', type: 'string', format: 'url', nullable: true),
17-
new OA\Property(property: 'url_segment', type: 'string', nullable: true),
18-
new OA\Property(property: 'city', type: 'string', nullable: true),
19-
new OA\Property(property: 'state', type: 'string', nullable: true),
20-
new OA\Property(property: 'country', type: 'string', nullable: true),
21-
new OA\Property(property: 'description', type: 'string', nullable: true),
22-
new OA\Property(property: 'industry', type: 'string', nullable: true),
23-
new OA\Property(property: 'contributions', type: 'string', nullable: true),
24-
new OA\Property(property: 'member_level', type: 'string', nullable: true),
25-
new OA\Property(property: 'overview', type: 'string', nullable: true),
26-
new OA\Property(property: 'products', type: 'string', nullable: true),
27-
new OA\Property(property: 'commitment', type: 'string', nullable: true),
28-
new OA\Property(property: 'commitment_author', type: 'string', nullable: true),
29-
new OA\Property(property: 'logo', type: 'string', format: 'url', nullable: true),
30-
new OA\Property(property: 'big_logo', type: 'string', format: 'url', nullable: true),
31-
new OA\Property(property: 'color', type: 'string', description: 'Hex color code', nullable: true),
32-
]
33-
)]
34-
class CompanySchema {}
35-
367
#[OA\Schema(
378
schema: 'PaginatedCompaniesResponse',
389
type: 'object',

0 commit comments

Comments
 (0)