Skip to content

Commit 9207301

Browse files
committed
Always take the first example
By doing this we'll prevent generation churn with only example updates
1 parent 83fcc45 commit 9207301

File tree

65 files changed

+65
-65
lines changed

Some content is hidden

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

65 files changed

+65
-65
lines changed

src/Schema/Actions/ReviewPendingDeploymentsForRun/Request/Applicationjson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public const SCHEMA_JSON = '{"required":["environment_ids","state","comment"],"type":"object","properties":{"environment_ids":{"type":"array","items":{"type":"integer","examples":[161171787]},"description":"The list of environment ids to approve or reject","examples":[161171787,161171795]},"state":{"enum":["approved","rejected"],"type":"string","description":"Whether to approve or reject deployment to the specified environments.","examples":["approved"]},"comment":{"type":"string","description":"A comment to accompany the deployment review","examples":["Ship it!"]}}}';
1313
public const SCHEMA_TITLE = '';
1414
public const SCHEMA_DESCRIPTION = '';
15-
public const SCHEMA_EXAMPLE_DATA = '{"environment_ids":[161171795],"state":"approved","comment":"Ship it!"}';
15+
public const SCHEMA_EXAMPLE_DATA = '{"environment_ids":[161171787],"state":"approved","comment":"Ship it!"}';
1616
/**
1717
* environment_ids: The list of environment ids to approve or reject
1818
* @param ?array<int> $environment_ids

src/Schema/ApiOverview.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public const SCHEMA_JSON = '{"title":"Api Overview","required":["verifiable_password_authentication"],"type":"object","properties":{"verifiable_password_authentication":{"type":"boolean","examples":[true]},"ssh_key_fingerprints":{"type":"object","properties":{"SHA256_RSA":{"type":"string"},"SHA256_DSA":{"type":"string"},"SHA256_ECDSA":{"type":"string"},"SHA256_ED25519":{"type":"string"}}},"ssh_keys":{"type":"array","items":{"type":"string"},"examples":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"]},"hooks":{"type":"array","items":{"type":"string"},"examples":["127.0.0.1\\/32"]},"web":{"type":"array","items":{"type":"string"},"examples":["127.0.0.1\\/32"]},"api":{"type":"array","items":{"type":"string"},"examples":["127.0.0.1\\/32"]},"git":{"type":"array","items":{"type":"string"},"examples":["127.0.0.1\\/32"]},"packages":{"type":"array","items":{"type":"string"},"examples":["13.65.0.0\\/16","157.55.204.33\\/32","2a01:111:f403:f90c::\\/62"]},"pages":{"type":"array","items":{"type":"string"},"examples":["192.30.252.153\\/32","192.30.252.154\\/32"]},"importer":{"type":"array","items":{"type":"string"},"examples":["54.158.161.132","54.226.70.38"]},"actions":{"type":"array","items":{"type":"string"},"examples":["13.64.0.0\\/16","13.65.0.0\\/16"]},"dependabot":{"type":"array","items":{"type":"string"},"examples":["192.168.7.15\\/32","192.168.7.16\\/32"]}},"description":"Api Overview"}';
1313
public const SCHEMA_TITLE = 'Api Overview';
1414
public const SCHEMA_DESCRIPTION = 'Api Overview';
15-
public const SCHEMA_EXAMPLE_DATA = '{"verifiable_password_authentication":true,"ssh_key_fingerprints":{"SHA256_RSA":"generated_SHA256_RSA","SHA256_DSA":"generated_SHA256_DSA","SHA256_ECDSA":"generated_SHA256_ECDSA","SHA256_ED25519":"generated_SHA256_ED25519"},"ssh_keys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"],"hooks":["127.0.0.1\\/32"],"web":["127.0.0.1\\/32"],"api":["127.0.0.1\\/32"],"git":["127.0.0.1\\/32"],"packages":["157.55.204.33\\/32"],"pages":["192.30.252.153\\/32"],"importer":["54.226.70.38"],"actions":["13.65.0.0\\/16"],"dependabot":["192.168.7.16\\/32"]}';
15+
public const SCHEMA_EXAMPLE_DATA = '{"verifiable_password_authentication":true,"ssh_key_fingerprints":{"SHA256_RSA":"generated_SHA256_RSA","SHA256_DSA":"generated_SHA256_DSA","SHA256_ECDSA":"generated_SHA256_ECDSA","SHA256_ED25519":"generated_SHA256_ED25519"},"ssh_keys":["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"],"hooks":["127.0.0.1\\/32"],"web":["127.0.0.1\\/32"],"api":["127.0.0.1\\/32"],"git":["127.0.0.1\\/32"],"packages":["13.65.0.0\\/16"],"pages":["192.30.252.153\\/32"],"importer":["54.158.161.132"],"actions":["13.64.0.0\\/16"],"dependabot":["192.168.7.15\\/32"]}';
1616
/**
1717
* @param array<string> $ssh_keys
1818
* @param array<string> $hooks

src/Schema/AssignedIssueEvent.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/BranchProtection.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/BranchWithProtection.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/CheckRun.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/CheckRunWithSimpleCheckSuite.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/CheckSuite.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/CodeSearchResultItem.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/Schema/CodespaceWithFullRepository.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)