Skip to content

Commit e88c046

Browse files
committed
Allow duplicated schemas
1 parent d6f36d7 commit e88c046

File tree

3,826 files changed

+529081
-99715
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,826 files changed

+529081
-99715
lines changed

etc/openapi-generator-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
spec: https://raw.githubusercontent.com/github/rest-api-description/main/descriptions-next/ghec/ghec.yaml
22
namespace: ApiClients\Client\GitHubEnterpriseCloud
33
destination: ../src
4+
schemas:
5+
allowDuplication: true
46
voter:
57
listOperation:
68
- ApiClients\Tools\OpenApiClientGenerator\Voter\ListOperation\PageAndPerPageInQuery

src/Client.php

Lines changed: 77 additions & 58 deletions
Large diffs are not rendered by default.

src/ClientInterface.php

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Projects\CreateCard\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H422 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Projects\CreateCard\Response\Applicationjson\H422 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Projects\CreateCard\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H503 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Projects\CreateCard\Response\Applicationjson\H503 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Projects\Delete\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H403 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Projects\Delete\Response\Applicationjson\H403 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Projects\Update\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H403 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Projects\Update\Response\Applicationjson\H403 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Pulls\Merge\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H405 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Pulls\Merge\Response\Applicationjson\H405 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Pulls\Merge\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H409 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Pulls\Merge\Response\Applicationjson\H409 $error)
14+
{
15+
}
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare (strict_types=1);
4+
namespace ApiClients\Client\GitHubEnterpriseCloud\Error\Operation\Repos\Delete\Response\Applicationjson;
5+
6+
use ApiClients\Client\GitHubEnterpriseCloud\Error as ErrorSchemas;
7+
use ApiClients\Client\GitHubEnterpriseCloud\Hydrator;
8+
use ApiClients\Client\GitHubEnterpriseCloud\Operation;
9+
use ApiClients\Client\GitHubEnterpriseCloud\Schema;
10+
use ApiClients\Client\GitHubEnterpriseCloud\WebHook;
11+
final class H403 extends \Error
12+
{
13+
public function __construct(public int $status, public Schema\Operation\Repos\Delete\Response\Applicationjson\H403 $error)
14+
{
15+
}
16+
}

0 commit comments

Comments
 (0)