8000 Openapi based client proof of concept by WyriHaximus · Pull Request #78 · php-api-clients/github · GitHub
[go: up one dir, main page]

Skip to content

Openapi based client proof of concept #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 108 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
a7a879e
Openapi based client proof of concept
WyriHaximus Apr 28, 2021
799858f
Drop dependancies for now
WyriHaximus Apr 30, 2021
6fe9bde
Ignore some things
WyriHaximus May 1, 2021
8c0ad54
Add all avialable API version
WyriHaximus May 1, 2021
21f3fb9
Prefix versions with v
WyriHaximus May 1, 2021
ca0fb8a
Add mocked webhooks (It's crappy but it's a start)
WyriHaximus May 1, 2021
481f1bb
Adding type hinting to arrays
WyriHaximus May 3, 2021
d6f1a75
Typed properties :D
WyriHaximus May 3, 2021
43a122b
Nullable all the thigns!
WyriHaximus May 3, 2021
5cb409f
Simplefied webhooks for now
WyriHaximus May 3, 2021
a18a296
Gah
WyriHaximus May 3, 2021
1c5439f
wafefaeafew
WyriHaximus May 3, 2021
bf7c125
asdfads
WyriHaximus May 3, 2021
42d5d22
Deal with weird property naming
WyriHaximus May 3, 2021
06d504d
Plus and minus signs...
WyriHaximus May 3, 2021
38599e4
Dashes in class names
WyriHaximus May 3, 2021
2c8476c
Annotations!
WyriHaximus May 8, 2021
ea235f7
object => array
WyriHaximus May 9, 2021
2434152
GHES 3.1
WyriHaximus May 27, 2021
2333e9a
Drop double \ in some namespaces
WyriHaximus May 27, 2021
a2d23ed
Add "official" webhooks
WyriHaximus May 29, 2021
bbfa1f0
Applied code style rules
WyriHaximus May 29, 2021
2f6ce40
Update QA config
WyriHaximus May 29, 2021
4de94b6
Better object detection
WyriHaximus May 29, 2021
18efccd
Added nested schema objects
WyriHaximus May 29, 2021
ec9e725
Several improvements
WyriHaximus May 29, 2021
e930c5e
No nullables
WyriHaximus May 29, 2021
ee08ad3
Correctly set no default value for non-array objects
WyriHaximus May 29, 2021
4b1632a
Fixed certain annotations and dropped GHE as a test
WyriHaximus May 30, 2021
08ab22d
Fixes! And dropped code style for now because it seem to have some we…
WyriHaximus May 30, 2021
de9805e
Keeping it slim for now
WyriHaximus May 30, 2021
f267946
Handle null values better
WyriHaximus Jun 6, 2021
429fbb1
Better webhooks support
WyriHaximus Jun 8, 2021
fba8b3e
Keeping it slim for now
WyriHaximus Jun 8, 2021
3539ea9
Webhook Interface
WyriHaximus Jun 9, 2021
1486257
Ensure we have the webhook interface as return types for from WebHook…
WyriHaximus Jun 9, 2021
7e01de2
updated dependencies
WyriHaximus Jun 12, 2021
d50cfb6
Limited allOf support
WyriHaximus Jun 13, 2021
e5d0760
Temporary new CS rules applied until the fixes stop breaking the code
WyriHaximus Jun 13, 2021
f01aca7
Some fixes
WyriHaximus Jun 13, 2021
f1414c7
Testing something
WyriHaximus Jun 13, 2021
e55ee42
Nope
WyriHaximus Jun 13, 2021
d574f3e
Debug
WyriHaximus Jun 13, 2021
bdb5d82
Trying something else
WyriHaximus Jun 13, 2021
4e089d1
Another thing
WyriHaximus Jun 13, 2021
8000
565756e
Undid debug changes
WyriHaximus Jun 13, 2021
0dc825e
Fix schema references
WyriHaximus Jun 13, 2021
0bd8bc5
Testing something
WyriHaximus Jun 13, 2021
d68b87e
Nullable
WyriHaximus Jun 13, 2021
c440f03
More improvements!
WyriHaximus Jun 14, 2021
25499e9
Merge remote-tracking branch 'origin/openapi-based-client-proof-of-co…
WyriHaximus Jun 14, 2021
f161e69
Phew
WyriHaximus Jun 14, 2021
56b24dd
Improvements!
WyriHaximus Jun 14, 2021
ead61d3
Support nullable flag
WyriHaximus Jun 14, 2021
258c31a
Make merged nullable for now by hand due to schema inaccuracy
WyriHaximus Jun 27, 2021
0f991df
Make mergeable_state nullable for now by hand due to schame inacuracy
WyriHaximus Jun 27, 2021
7c7b907
Updated generated code
WyriHaximus Jul 18, 2021
7cb11e7
TEst
WyriHaximus Jul 18, 2021
cbd9fd4
test
WyriHaximus Jul 18, 2021
e5d61fa
Node code
WyriHaximus Jul 18, 2021
9943d57
Test
WyriHaximus Jul 18, 2021
6483228
Test
WyriHaximus Jul 18, 2021
74fb551
Test
WyriHaximus Jul 18, 2021
327ff34
Ugh
WyriHaximus Jul 22, 2021
0ae4ff2
Oops
WyriHaximus Jul 22, 2021
27af82c
Grrr
WyriHaximus Jul 22, 2021
89a859f
Improved webhook handling
WyriHaximus Aug 7, 2021
d9ce079
Added missing single use webhooks
WyriHaximus Aug 8, 2021
cb586ea
Unlock PHP 8
WyriHaximus Sep 11, 2021
a0f652f
Update dependencies
WyriHaximus Sep 11, 2021
3aa1741
New WebHooks schema from cebe/openapi
WyriHaximus Feb 7, 2022
50a4696
Abd composer.json changes
WyriHaximus Feb 7, 2022
81acb34
MVP support for oneOf schema's
WyriHaximus Feb 10, 2022
60b206e
Translate number to int
WyriHaximus Feb 10, 2022
0f2934b
WebHooks have names again :tada: !
WyriHaximus Feb 10, 2022
43ac5de
Ship new client wiring update
WyriHaximus Jun 3, 2022
da6c01f
Removed trailing ? from URL's without a query
WyriHaximus Jun 4, 2022
e8455ea
Update to new webvsocket including OpenAPI spec
WyriHaximus Dec 11, 2022
0682150
Update to latest generated client bringing all schemas and making req…
WyriHaximus Dec 24, 2022
eb292aa
More predictable naming
WyriHaximus Jan 4, 2023
56cd733
Drop CHE and CHAE and in time put them in their own packages
WyriHaximus Jan 4, 2023
cd49a14
Added nested unknown schemas
WyriHaximus Jan 4, 2023
3f3c394
Better nullable types
WyriHaximus Jan 4, 2023
d05bed8
Better naming conventions
WyriHaximus Jan 4, 2023
358343c
Make the browser required
WyriHaximus Jan 5, 2023
54030ef
Add authentication
WyriHaximus Jan 5, 2023
fb03405
Better naming for all classes
WyriHaximus Jan 6, 2023
3a4d5dd
Several upgrades
WyriHaximus Jan 12, 2023
2a35781
Handle empry response bodies a little bit better
WyriHaximus Jan 13, 2023
fc29f2f
Reserved keywords fix
WyriHaximus Jan 17, 2023
588c6d2
Fix webhook key issues
WyriHaximus Jan 17, 2023
ccd87dd
Use eventsauce/object-hydrator for object hydration
WyriHaximus Jan 29, 2023
bd9d138
Hydrate WebHooks
WyriHaximus Jan 30, 2023
fb7bf78
Small fixes
WyriHaximus Jan 30, 2023
6aee035
Add ClientIntface
WyriHaximus Jan 30, 2023
6829fe2
Fibers
WyriHaximus Feb 1, 2023
8d0b426
PHPStan understands these return conditionals
WyriHaximus Feb 2, 2023
479aa3c
Hydrator templates
WyriHaximus Feb 3, 2023
5929af2
Hydrator rename so it's easier to used externally
WyriHaximus Feb 3, 2023
ddfd693
Hydrator template fixes
WyriHaximus Feb 4, 2023
93352c3
Re-fixed nested schemas
WyriHaximus Feb 5, 2023
bf29b8b
Correct constructor types
WyriHaximus Feb 5, 2023
abd4b48
Add example values to schema
WyriHaximus Feb 6, 2023
b1f9b51
Next gen generated client
WyriHaximus Feb 18, 2023
ca00ff0
Getting there :D!
WyriHaximus Feb 22, 2023
23cff8d
Contracts
WyriHaximus Feb 22, 2023
d1dc962
Getting there
WyriHaximus Feb 23, 2023
9451e3e
Hydrator shizzle
WyriHaximus Feb 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
asdfads
  • Loading branch information
WyriHaximus committed May 3, 2021
commit bf7c12526884ae5f217c22079b416b8d5c6f0ebd
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ActionsBillingUsage.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsBillingUsage
{
public const SCHEMA_TITLE = 'actions-billing-usage';
public const SPL_HASH = '00000000084e08640000000020f58f84';
public const SPL_HASH = '000000000cd523100000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The sum of the free and paid GitHub Actions minutes used.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ActionsEnabled.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class ActionsEnabled
{
public const SCHEMA_TITLE = 'actions-enabled';
public const SPL_HASH = '00000000084e15010000000020f58f84';
public const SPL_HASH = '000000000cd53e750000000040effa88';
public const SCHEMA_DESCRIPTION = 'Whether GitHub Actions is enabled on the repository.';
}
10000
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsEnterprisePermissions
{
public const SCHEMA_TITLE = 'actions-enterprise-permissions';
public const SPL_HASH = '00000000084e08810000000020f58f84';
public const SPL_HASH = '000000000cd523f50000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsOrganizationPermissions
{
public const SCHEMA_TITLE = 'actions-organization-permissions';
public const SPL_HASH = '00000000084e0b880000000020f58f84';
public const SPL_HASH = '000000000cd520fc0000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The policy that controls the repositories in the organization that are allowed to run GitHub Actions. Can be one of: `all`, `none`, or `selected`.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ActionsPublicKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsPublicKey
{
public const SCHEMA_TITLE = 'ActionsPublicKey';
public const SPL_HASH = '00000000084e0ba50000000020f58f84';
public const SPL_HASH = '000000000cd520d10000000040effa88';
public const SCHEMA_DESCRIPTION = 'The public key used for setting Actions Secrets.';
/**
* The identifier for the key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsRepositoryPermissions
{
public const SCHEMA_TITLE = 'actions-repository-permissions';
public const SPL_HASH = '00000000084e15000000000020f58f84';
public const SPL_HASH = '000000000cd53e740000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* Whether GitHub Actions is enabled on the repository.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ActionsSecret.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ActionsSecret
{
public const SCHEMA_TITLE = 'Actions Secret';
public const SPL_HASH = '00000000084e169d0000000020f58f84';
public const SPL_HASH = '000000000cd53de90000000040effa88';
public const SCHEMA_DESCRIPTION = 'Set secrets for GitHub Actions.';
/**
* The name of the secret.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/Actor.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class Actor
{
public const SCHEMA_TITLE = 'Actor';
public const SPL_HASH = '00000000084e08740000000020f58f84';
public const SPL_HASH = '000000000cd523000000000040effa88';
public const SCHEMA_DESCRIPTION = 'Actor';
private ?int $id = null;
private ?string $login = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AlertCreatedAt.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AlertCreatedAt
{
public const SCHEMA_TITLE = 'alert-created-at';
public const SPL_HASH = '00000000084e17230000000020f58f84';
public const SPL_HASH = '000000000cd53c570000000040effa88';
public const SCHEMA_DESCRIPTION = 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AlertHtmlUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AlertHtmlUrl
{
public const SCHEMA_TITLE = 'alert-html-url';
public const SPL_HASH = '00000000084e17250000000020f58f84';
public const SPL_HASH = '000000000cd53c510000000040effa88';
public const SCHEMA_DESCRIPTION = 'The GitHub URL of the alert resource.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AlertInstancesUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AlertInstancesUrl
{
public const SCHEMA_TITLE = 'alert-instances-url';
public const SPL_HASH = '00000000084e17240000000020f58f84';
public const SPL_HASH = '000000000cd53c500000000040effa88';
public const SCHEMA_DESCRIPTION = 'The REST API URL for fetching the list of instances for an alert.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AlertNumber.php
10000
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AlertNumber
{
public const SCHEMA_TITLE = 'alert-number';
public const SPL_HASH = '00000000084e17200000000020f58f84';
public const SPL_HASH = '000000000cd53c540000000040effa88';
public const SCHEMA_DESCRIPTION = 'The security alert number.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AlertUrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AlertUrl
{
public const SCHEMA_TITLE = 'alert-url';
public const SPL_HASH = '00000000084e17220000000020f58f84';
public const SPL_HASH = '000000000cd53c560000000040effa88';
public const SCHEMA_DESCRIPTION = 'The REST API URL of the alert resource.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AllowedActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AllowedActions
{
public const SCHEMA_TITLE = 'allowed-actions';
public const SPL_HASH = '00000000084e08ff0000000020f58f84';
public const SPL_HASH = '000000000cd5238b0000000040effa88';
public const SCHEMA_DESCRIPTION = 'The permissions policy that controls the actions that are allowed to run. Can be one of: `all`, `local_only`, or `selected`.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ApiOverview.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ApiOverview
{
public const SCHEMA_TITLE = 'Api Overview';
public const SPL_HASH = '00000000084e0a420000000020f58f84';
public const SPL_HASH = '000000000cd521360000000040effa88';
public const SCHEMA_DESCRIPTION = 'Api Overview';
private ?bool $verifiable_password_authentication = null;
private ?object $ssh_key_fingerprints = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AppPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class AppPermissions
{
public const SCHEMA_TITLE = 'App Permissions';
public const SPL_HASH = '00000000084e0e280000000020f58f84';
public const SPL_HASH = '000000000cd5255c0000000040effa88';
public const SCHEMA_DESCRIPTION = 'The permissions granted to the user-to-server access token.';
/**
* The level of permission to grant the access token for GitHub Actions workflows, workflow runs, and artifacts. Can be one of: `read` or `write`.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/ApplicationGrant.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class ApplicationGrant
{
public const SCHEMA_TITLE = 'Application Grant';
public const SPL_HASH = '00000000084e0f3c0000000020f58f84';
public const SPL_HASH = '000000000cd524480000000040effa88';
public const SCHEMA_DESCRIPTION = 'The authorization associated with an OAuth Access.';
private ?int $id = null;
private ?string $url = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/Artifact.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class Artifact
{
public const SCHEMA_TITLE = 'Artifact';
public const SPL_HASH = '00000000084e155e0000000020f58f84';
public const SPL_HASH = '000000000cd53e2a0000000040effa88';
public const SCHEMA_DESCRIPTION = 'An artifact';
private ?int $id = null;
private ?string $node_id = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AuditLogEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class AuditLogEvent
{
public const SCHEMA_TITLE = 'audit-log-event';
public const SPL_HASH = '00000000084e08400000000020f58f84';
public const SPL_HASH = '000000000cd523340000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The time the audit log event occurred, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AuthenticationToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class AuthenticationToken
{
public const SCHEMA_TITLE = 'Authentication Token';
public const SPL_HASH = '00000000084e08b60000000020f58f84';
public const SPL_HASH = '000000000cd523c20000000040effa88';
public const SCHEMA_DESCRIPTION = 'Authentication Token';
/**
* The token used for authentication
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AuthorAssociation.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class AuthorAssociation
{
public const SCHEMA_TITLE = 'author_association';
public const SPL_HASH = '00000000084e08190000000020f58f84';
public const SPL_HASH = '000000000cd5236d0000000040effa88';
public const SCHEMA_DESCRIPTION = 'How the author is associated with the repository.';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/Authorization.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class Authorization
{
public const SCHEMA_TITLE = 'Authorization';
public const SPL_HASH = '00000000084e08d80000000020f58f84';
public const SPL_HASH = '000000000cd523ac0000000040effa88';
public const SCHEMA_DESCRIPTION = 'The authorization for an OAuth app, GitHub App, or a Personal Access Token.';
private ?int $id = null;
private ?string $url = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/AutoMerge.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class AutoMerge
{
public const SCHEMA_TITLE = 'Auto merge';
public const SPL_HASH = '00000000084e10350000000020f58f84';
public const SPL_HASH = '000000000cd53b410000000040effa88';
public const SCHEMA_DESCRIPTION = 'The status of auto merging a pull request.';
/**
* Simple User
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/BaseGist.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BaseGist
{
public const SCHEMA_TITLE = 'Base Gist';
public const SPL_HASH = '00000000084e09bc0000000020f58f84';
public const SPL_HASH = '000000000cd522c80000000040effa88';
public const SCHEMA_DESCRIPTION = 'Base Gist';
private ?string $url = null;
private ?string $forks_url = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/BasicError.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BasicError
{
public const SCHEMA_TITLE = 'Basic Error';
public const SPL_HASH = '00000000084e0e580000000020f58f84';
public const SPL_HASH = '000000000cd5252c0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Basic Error';
private ?string $message = null;
private ?string $documentation_url = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/Blob.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class Blob
{
public const SCHEMA_TITLE = 'Blob';
public const SPL_HASH = '00000000084e127b0000000020f58f84';
public const SPL_HASH = '000000000cd5390f0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Blob';
private ?string $content = null;
private ?string $encoding = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/BranchProtection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BranchProtection
{
public const SCHEMA_TITLE = 'Branch Protection';
public const SPL_HASH = '00000000084e16190000000020f58f84';
public const SPL_HASH = '000000000cd53d6d0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Branch Protection';
private ?string $url = null;
private ?object $required_status_checks = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BranchRestrictionPolicy
{
public const SCHEMA_TITLE = 'Branch Restriction Policy';
public const SPL_HASH = '00000000084e16490000000020f58f84';
public const SPL_HASH = '000000000cd53d3d0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Branch Restriction Policy';
private ?string $url = null;
private ?string $users_url = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/BranchShort.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BranchShort
{
public const SCHEMA_TITLE = 'Branch Short';
public const SPL_HASH = '00000000084e102d0000000020f58f84';
public const SPL_HASH = '000000000cd53b590000000040effa88';
public const SCHEMA_DESCRIPTION = 'Branch Short';
private ?string $name = null;
private ?object $commit = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/BranchWithProtection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class BranchWithProtection
{
public const SCHEMA_TITLE = 'Branch With Protection';
public const SPL_HASH = '00000000084e17fe0000000020f58f84';
public const SPL_HASH = '000000000cd53c8a0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Branch With Protection';
private ?string $name = null;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CheckAnnotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CheckAnnotation
{
public const SCHEMA_TITLE = 'Check Annotation';
public const SPL_HASH = '00000000084e176c0000000020f58f84';
public const SPL_HASH = '000000000cd53c180000000040effa88';
public const SCHEMA_DESCRIPTION = 'Check Annotation';
private ?string $path = null;
private ?int $start_line = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CheckRun.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CheckRun
{
public const SCHEMA_TITLE = 'CheckRun';
public const SPL_HASH = '00000000084e174c0000000020f58f84';
public const SPL_HASH = '000000000cd53c380000000040effa88';
public const SCHEMA_DESCRIPTION = 'A check performed on the code of a given code change';
/**
* The id of the check.
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CheckSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CheckSuite
{
public const SCHEMA_TITLE = 'CheckSuite';
public const SPL_HASH = '00000000084e17790000000020f58f84';
public const SPL_HASH = '000000000cd53c0d0000000040effa88';
public const SCHEMA_DESCRIPTION = 'A suite of checks performed on the code of a given code change';
private ?int $id = null;
private ?string $node_id = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CheckSuitePreference.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CheckSuitePreference
{
public const SCHEMA_TITLE = 'Check Suite Preference';
public const SPL_HASH = '00000000084e17150000000020f58f84';
public const SPL_HASH = '000000000cd53c610000000040effa88';
public const SCHEMA_DESCRIPTION = 'Check suite configuration preferences for a repository.';
private ?object $preferences = null;
/**
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CloneTraffic.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CloneTraffic
{
public const SCHEMA_TITLE = 'Clone Traffic';
public const SPL_HASH = '00000000084e1e560000000020f58f84';
public const SPL_HASH = '000000000cd535220000000040effa88';
public const SCHEMA_DESCRIPTION = 'Clone Traffic';
private ?int $count = null;
private ?int $uniques = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CodeFrequencyStat.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class CodeFrequencyStat
{
public const SCHEMA_TITLE = 'Code Frequency Stat';
public const SPL_HASH = '00000000084e1ea80000000020f58f84';
public const SPL_HASH = '000000000cd535dc0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Code Frequency Stat';
}
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CodeOfConduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CodeOfConduct
{
public const SCHEMA_TITLE = 'Code Of Conduct';
public const SPL_HASH = '00000000084e08f30000000020f58f84';
public const SPL_HASH = '000000000cd523870000000040effa88';
public const SCHEMA_DESCRIPTION = 'Code Of Conduct';
private ?string $key = null;
private ?string $name = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CodeOfConductSimple.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CodeOfConductSimple
{
public const SCHEMA_TITLE = 'Code Of Conduct Simple';
public const SPL_HASH = '00000000084e15e80000000020f58f84';
public const SPL_HASH = '000000000cd53e9c0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Code of Conduct Simple';
private ?string $url = null;
private ?string $key = null;
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CodeScanningAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CodeScanningAlert
{
public const SCHEMA_TITLE = 'code-scanning-alert';
public const SPL_HASH = '00000000084e10880000000020f58f84';
public const SPL_HASH = '000000000cd53bfc0000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The security alert number.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class CodeScanningAlertClassification
{
public const SCHEMA_TITLE = 'code-scanning-alert-classification';
public const SPL_HASH = '00000000084e10c30000000020f58f84';
public const SPL_HASH = '000000000cd53bb70000000040effa88';
public const SCHEMA_DESCRIPTION = 'A classification of the file. For example to identify it as generated.';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class CodeScanningAlertDismissedAt
{
public const SCHEMA_TITLE = 'code-scanning-alert-dismissed-at';
public const SPL_HASH = '00000000084e17270000000020f58f84';
public const SPL_HASH = '000000000cd53c530000000040effa88';
public const SCHEMA_DESCRIPTION = 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class CodeScanningAlertDismissedReason
{
public const SCHEMA_TITLE = 'code-scanning-alert-dismissed-reason';
public const SPL_HASH = '00000000084e17260000000020f58f84';
public const SPL_HASH = '000000000cd53c520000000040effa88';
public const SCHEMA_DESCRIPTION = '**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won\'t fix`, and `used in tests`.';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
final class CodeScanningAlertEnvironment
{
public const SCHEMA_TITLE = 'code-scanning-alert-environment';
public const SPL_HASH = '00000000084e173a0000000020f58f84';
public const SPL_HASH = '000000000cd53c4e0000000040effa88';
public const SCHEMA_DESCRIPTION = 'Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed.';
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CodeScanningAlertInstance
{
public const SCHEMA_TITLE = 'code-scanning-alert-instance';
public const SPL_HASH = '00000000084e10c20000000020f58f84';
public const SPL_HASH = '000000000cd53bb60000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The full Git reference, formatted as `refs/heads/<branch name>`,
Expand Down
2 changes: 1 addition & 1 deletion src/OpenAPI/ApiGitHubCom/Schema/CodeScanningAlertItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
final class CodeScanningAlertItems
{
public const SCHEMA_TITLE = 'code-scanning-alert-items';
public const SPL_HASH = '00000000084e10da0000000020f58f84';
public const SPL_HASH = '000000000cd53bae0000000040effa88';
public const SCHEMA_DESCRIPTION = '';
/**
* The security alert number.
Expand Down
Loading
0