You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure not required parameters are created as optional properties (#1053)
* Add missing 'vite' dependency
* Ensure not required params are created as optional properties (#1052)
According to the OpenAPI 3.1.0 spec, a parameter is required if one of these matches:
- it has 'in: "path"'
- it has 'required: true'
See spec at Parameter Object - Fixed Fields:
https://spec.openapis.org/oas/v3.1.0#fixed-fields-9Fixes#1052
/** @description The unique identifier of the token. */
5688
5688
"token-id": number;
5689
5689
/** @description Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. */
5690
-
since: string;
5690
+
since?: string;
5691
5691
/** @description The unique identifier of the installation. */
5692
5692
"installation-id": number;
5693
5693
/** @description The unique identifier of the grant. */
/** @description The slug version of the enterprise name. You can also substitute this value with the enterprise id. */
5702
5702
enterprise: string;
5703
5703
/** @description A search phrase. For more information, see [Searching the audit log](https://docs.github.com/[email protected]/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). */
/** @description A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. */
5716
-
"audit-log-after": string;
5716
+
"audit-log-after"?: string;
5717
5717
/** @description A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. */
5718
-
"audit-log-before": string;
5718
+
"audit-log-before"?: string;
5719
5719
/**
5720
5720
* @description The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.
5721
5721
*
5722
5722
* The default is `desc`.
5723
5723
*/
5724
-
"audit-log-order": "desc"|"asc";
5724
+
"audit-log-order"?: "desc"|"asc";
5725
5725
/** @description Set to `open` or `resolved` to only list secret scanning alerts in a specific state. */
* @description A comma-separated list of secret types to return. By default all secret types are returned.
5729
5729
* See "[Secret scanning patterns](https://docs.github.com/[email protected]/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"
5730
5730
* for a complete list of secret types.
5731
5731
*/
5732
-
"secret-scanning-alert-secret-type": string;
5732
+
"secret-scanning-alert-secret-type"?: string;
5733
5733
/** @description A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. */
5734
-
"secret-scanning-alert-resolution": string;
5734
+
"secret-scanning-alert-resolution"?: string;
5735
5735
/** @description The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. */
/** @description A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events before this cursor. */
5738
-
"pagination-before": string;
5738
+
"pagination-before"?: string;
5739
5739
/** @description A cursor, as given in the [Link header](https://docs.github.com/[email protected]/rest/overview/resources-in-the-rest-api#link-header). If specified, the query only searches for events after this cursor. */
5740
-
"pagination-after": string;
5740
+
"pagination-after"?: string;
5741
5741
/** @description The unique identifier of the group. */
/** @description The name of the repository. The name is not case sensitive. */
5748
5748
repo: string;
5749
5749
/** @description Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. */
5750
-
actor: string;
5750
+
actor?: string;
5751
5751
/** @description Returns workflow runs associated with a branch. Use the name of the branch of the `push`. */
5752
-
"workflow-run-branch": string;
5752
+
"workflow-run-branch"?: string;
5753
5753
/** @description Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." */
5754
-
event: string;
5754
+
event?: string;
5755
5755
/** @description Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`. */
/** @description Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/[email protected]/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." */
5758
-
created: string;
5758
+
created?: string;
5759
5759
/** @description If `true` pull requests are omitted from the response (empty array). */
5760
-
"exclude-pull-requests": boolean;
5760
+
"exclude-pull-requests"?: boolean;
5761
5761
/** @description Returns workflow runs with the `check_suite_id` that you specify. */
5762
-
"workflow-run-check-suite-id": number;
5762
+
"workflow-run-check-suite-id"?: number;
5763
5763
/** @description The unique identifier of the workflow run. */
5764
5764
"run-id": number;
5765
5765
/** @description The attempt number of the workflow run. */
/** @description The unique identifier of the autolink. */
5770
5770
"autolink-id": number;
5771
5771
/** @description The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. */
/** @description The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. */
/** @description The full path, relative to the repository root, of the dependency manifest file. */
5776
-
"manifest-path": string;
5776
+
"manifest-path"?: string;
5777
5777
/** @description The unique identifier of the key. */
5778
5778
"key-id": number;
5779
5779
/** @description The unique identifier of the release. */
5780
5780
"release-id": number;
5781
5781
/** @description The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. */
0 commit comments