diff --git a/content/copilot/concepts/auto-model-selection.md b/content/copilot/concepts/auto-model-selection.md index 1232bf7adbbf..3506cceb54f3 100644 --- a/content/copilot/concepts/auto-model-selection.md +++ b/content/copilot/concepts/auto-model-selection.md @@ -1,8 +1,8 @@ --- -title: 'About {% data variables.product.prodname_copilot_short %} auto model selection' +title: 'About {% data variables.product.prodname_copilot_short %} {% data variables.copilot.copilot_auto_model_selection_short %}' allowTitleToDifferFromFilename: true shortTitle: 'Auto model selection' -intro: 'Automatically select models for {% data variables.copilot.copilot_chat_short %}, {% data variables.copilot.copilot_cloud_agent %}, and third-party agents.' +intro: 'Automatically select the best model for each task.' product: '{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available with all {% data variables.product.prodname_copilot %} plans.' versions: feature: copilot @@ -13,70 +13,76 @@ category: ## Overview -Experience less rate limiting and reduce the mental load of choosing a model by letting {% data variables.copilot.copilot_auto_model_selection %} choose the best available model on your behalf. +More than just a model picker, {% data variables.copilot.copilot_auto_model_selection_short %} is an intelligent system delivering high quality results, better reliability, and one less decision to make as the model landscape rapidly evolves. -{% data variables.copilot.copilot_auto_model_selection %} intelligently chooses models based on real time system health and model performance. You benefit from: - * Reduced rate limiting - * Lower latency and errors - * Discounted multipliers for paid plans +{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} combines two systems to provide high quality results and better reliability. One system tracks real-time system health and availability, while the other evaluates task complexity. Putting these together, {% data variables.copilot.copilot_auto_model_selection_short %} routes the task to the optimal model. + +Routing occurs along natural cache boundaries to avoid additional cache related costs. Switching models mid-session has shown increased cost without ample improvements in quality. +This helps you get more value from {% data variables.product.prodname_copilot_short %} since it matches each task to the model that can solve it most efficiently. That means reserving higher-cost reasoning models for problems that truly need it, while routing straightforward tasks to faster, lower-cost models that still deliver great results. + +Benefits of using {% data variables.copilot.copilot_auto_model_selection_short %} include: +* Matching each task to the model that can solve it most efficiently. +* Model choice based on real-time system health and availability. +* Language invariance: Routing decisions depend on what you are trying to do, not what language you're asking in. +* Improved cost efficiency due to intelligent task routing. + +### Policies and availability + +When you select **Auto**, {% data variables.copilot.copilot_auto_model_selection_short %} chooses from supported models, subject to your policies and subscription type. Available models may change over time. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection). {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} **won't** include these models: +* Models not available in your plan. * Models excluded by administrator policies. See [AUTOTITLE](/copilot/how-tos/copilot-on-github/set-up-copilot/configure-access-to-ai-models). -* Models with premium request multipliers greater than one. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#model-multipliers). -* Models not available in your plan. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-per-copilot-plan). - -> [!NOTE] Soon {% data variables.copilot.copilot_auto_model_selection %} will choose the best model for you based on your task. +* Models excluded by policies restricting {% data variables.product.prodname_copilot_short %} to data-resident or FedRAMP-compliant models. +* Models with premium request multipliers greater than one. ### Multiplier discounts {% data reusables.copilot.auto-model-multiplier-discount %} See [AUTOTITLE](/copilot/concepts/billing/copilot-requests#model-multipliers). -## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_chat_short %} +## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_copilot_short %} -{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is generally available in the following IDEs: - * {% data variables.product.prodname_vscode_shortname %} - * JetBrains IDEs +{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is available in these {% data variables.product.prodname_copilot_short %} products: +* {% data variables.copilot.copilot_chat_short %} +* {% data variables.copilot.copilot_cli_short %} +* {% data variables.copilot.copilot_cloud_agent %} -{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} is in public preview for the following IDEs: - * {% data variables.product.prodname_vs %} - * Eclipse - * Xcode +> [!TIP] +> You can see which model was used for each {% data variables.product.prodname_copilot_short %} response. +> * In **{% data variables.copilot.copilot_chat_short %}**, hover over the response. +> * In **{% data variables.copilot.copilot_cli_short %}**, the model used for each response displays in the terminal. +> * In **{% data variables.copilot.copilot_cloud_agent %}**, the model used for each response displays at the end of the response. -When you select **Auto** in {% data variables.copilot.copilot_chat_short %} in IDEs, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported models, subject to your policies and subscription type. Models may change over time. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection). +### {% data variables.copilot.copilot_chat_short %} in IDEs -> [!TIP] To see which model was used for each response, hover over the response in {% data variables.copilot.copilot_chat_short %} in IDEs. +{% data variables.copilot.copilot_auto_model_selection_short_cap_a %} with task selection is in public preview in the following IDEs: + * {% data variables.product.prodname_vscode_shortname %} - {% data reusables.copilot.change-the-ai-model %} + {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} (without task selection) is available in the following IDEs: + * JetBrains IDEs + * Eclipse + * Xcode + * {% data variables.product.prodname_vs %} -### Enabling access during {% data variables.release-phases.public_preview %} +#### Enabling access during {% data variables.release-phases.public_preview %} During the {% data variables.release-phases.public_preview %}, if you're using a {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %} plan, the organization or enterprise that provides your plan must have the **Editor preview features** policy enabled. See [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#enabling-copilot-features-in-your-organization) or [AUTOTITLE](/enterprise-cloud@latest/copilot/managing-copilot/managing-copilot-for-your-enterprise/managing-policies-and-features-for-copilot-in-your-enterprise#copilot-in-githubcom). -## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_cli %} - -When you select **Auto** from the list of available models in {% data variables.copilot.copilot_cli %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported models, subject to your policies and subscription type. Models may change over time. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection). - -When using Auto, the model used for each response displays in the terminal. - - {% data reusables.copilot.change-the-ai-model %} - -## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.copilot.copilot_cloud_agent %} - -When you select **Auto** in {% data variables.copilot.copilot_cloud_agent %}, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported list of models, subject to your policies and subscription type. See [AUTOTITLE](/copilot/reference/ai-models/supported-models#supported-ai-models-in-auto-model-selection). +## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in third-party agents -{% data reusables.copilot.change-the-ai-model-copilot-cloud-agent %} +When you select **Auto** in the {% data variables.product.prodname_openai_codex %} or {% data variables.product.prodname_anthropic_claude %} coding agents, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} chooses from the supported list of models, subject to your policies and subscription type. -## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_openai_codex %} +### {% data variables.product.prodname_openai_codex %} supported models -When you select **Auto** in the {% data variables.product.prodname_openai_codex %} coding agent, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} currently chooses from the following list of models, subject to your policies and subscription type: +These models are available for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in the {% data variables.product.prodname_openai_codex %} coding agent. {% data reusables.copilot.openai-codex-agent-models %} For more information, see [AUTOTITLE](/copilot/concepts/agents/openai-codex). -## {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in {% data variables.product.prodname_anthropic_claude %} +### {% data variables.product.prodname_anthropic_claude %} supported models -When you select **Auto** in the {% data variables.product.prodname_anthropic_claude %} coding agent, {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} currently chooses from the following list of models, subject to your policies and subscription type: +These models are available for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} in the {% data variables.product.prodname_anthropic_claude %} coding agent. {% data reusables.copilot.anthropic-claude-agent-models %} diff --git a/content/copilot/reference/ai-models/supported-models.md b/content/copilot/reference/ai-models/supported-models.md index 28b2f7ead7bf..97a8262a4977 100644 --- a/content/copilot/reference/ai-models/supported-models.md +++ b/content/copilot/reference/ai-models/supported-models.md @@ -47,7 +47,7 @@ This table lists the AI models available in {% data variables.product.prodname_c ## Supported AI models in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} -This table lists the supported AI models for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. Available models may be limited by model policies, including policies restricting {% data variables.product.prodname_copilot_short %} to data-resident or FedRAMP-compliant models. +This table lists the supported AI models for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. Available models may be limited by model policies. See [AUTOTITLE](/copilot/concepts/auto-model-selection). {% rowheaders %} @@ -77,9 +77,6 @@ The following table lists AI models that are retired or scheduled for retirement The following table shows which models are available in each client. -> [!NOTE] -> {% data reusables.copilot.auto-model-selection %} - {% rowheaders %} | Model | {% data variables.product.prodname_dotcom_the_website %} | {% data variables.copilot.copilot_cli_short %} | {% data variables.product.prodname_vscode %} | {% data variables.product.prodname_vs %} | Eclipse | Xcode | JetBrains IDEs | diff --git a/content/issues/tracking-your-work-with-issues/administering-issues/cloning-an-issue.md b/content/issues/tracking-your-work-with-issues/administering-issues/cloning-an-issue.md new file mode 100644 index 000000000000..2511edb4106e --- /dev/null +++ b/content/issues/tracking-your-work-with-issues/administering-issues/cloning-an-issue.md @@ -0,0 +1,32 @@ +--- +title: Cloning an issue +intro: 'To quickly create a similar issue, you can clone an existing open issue into the same repository or a different one.' +versions: + feature: duplicating-an-issue +shortTitle: Clone an issue +redirect_from: + - /issues/tracking-your-work-with-issues/administering-issues/duplicating-an-issue +category: + - Create and work with issues +--- + +To clone an open issue, you must have triage access to the repository that contains the original issue and to the destination repository. The destination repository must allow blank issues. See [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization). + +When you clone an issue, a new issue is created with the original issue's title, description, assignees, type, labels, milestones, and projects prefilled, as long as those fields exist or are available in the destination repository. Labels and milestones are retained if they are present in the target repository, with labels matching by name and milestones matching by both name and due date. The original issue remains unchanged. + +People or teams mentioned in the original issue will not receive notifications about the cloning. The new issue will have its own URL and can be edited before being created. If you attempt to clone an issue to a repository where you do not have triage access, the option will not be available. + +## Cloning an open issue + +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-issues %} + +1. In the list of issues, click the issue you'd like to clone. +1. In the right sidebar, click **Clone issue**. +1. In the **Choose a repository** dropdown, select the destination repository. You can choose the same repository or a different one. +1. Edit the prefilled issue details as needed. +1. Click **Create issue**. + +## Further reading + +* [AUTOTITLE](/issues/tracking-your-work-with-issues/about-issues) diff --git a/content/issues/tracking-your-work-with-issues/administering-issues/duplicating-an-issue.md b/content/issues/tracking-your-work-with-issues/administering-issues/duplicating-an-issue.md deleted file mode 100644 index 325d376a65c8..000000000000 --- a/content/issues/tracking-your-work-with-issues/administering-issues/duplicating-an-issue.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Duplicating an issue -intro: 'To quickly create a similar issue, you can duplicate an existing open issue into the same repository or a different one.' -versions: - feature: duplicating-an-issue -shortTitle: Duplicate an issue -category: - - Create and work with issues ---- - -To duplicate an open issue, you must have triage access to the repository that contains the original issue and to the destination repository. The destination repository must allow blank issues. See [AUTOTITLE](/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization). - -When you duplicate an issue, a new issue is created with the original issue’s title, description, assignees, type, labels, milestones, and projects prefilled, as long as those fields exist or are available in the destination repository. Labels and milestones are retained if they are present in the target repository, with labels matching by name and milestones matching by both name and due date. The original issue remains unchanged. - -People or teams mentioned in the original issue will not receive notifications about the duplication. The new issue will have its own URL and can be edited before being created. If you attempt to duplicate an issue to a repository where you do not have triage access, the option will not be available. - -## Duplicating an open issue - -{% data reusables.repositories.navigate-to-repo %} -{% data reusables.repositories.sidebar-issues %} - -1. In the list of issues, click the issue you'd like to duplicate. -1. In the right sidebar, click **Duplicate issue**. -1. In the **Choose a repository** dropdown, select the destination repository. You can choose the same repository or a different one. -1. Edit the prefilled issue details as needed. -1. Click **Create issue**. - -## Further reading - -* [AUTOTITLE](/issues/tracking-your-work-with-issues/about-issues) diff --git a/content/issues/tracking-your-work-with-issues/administering-issues/index.md b/content/issues/tracking-your-work-with-issues/administering-issues/index.md index f82667597610..2920a8fe9812 100644 --- a/content/issues/tracking-your-work-with-issues/administering-issues/index.md +++ b/content/issues/tracking-your-work-with-issues/administering-issues/index.md @@ -12,5 +12,5 @@ children: - /transferring-an-issue-to-another-repository - /closing-an-issue - /deleting-an-issue - - /duplicating-an-issue + - /cloning-an-issue --- diff --git a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md index 97a2ad983d16..352926ba0492 100644 --- a/content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md +++ b/content/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets.md @@ -138,9 +138,9 @@ Optionally, you can require a merge type of merge, squash, or rebase. This means #### Required reviewers -Optionally, you can require review or approval from specific teams when a pull request changes certain files or directories. You can specify up to 15 different teams, and for each team you can require a certain number of approvals from team members. +Optionally, you can require review or approval from specific teams when a pull request changes certain files or directories. You can specify up to 15 different teams, and for each team you can require a certain number of approvals from team members. For an approval from a team member to count, the team must have write permissions (or higher) for the repository. -The **Reviewer** dropdown allows you to select any team which is in scope where the rule is being defined. +The **Reviewer** dropdown allows you to select any team which is in scope where the rule is being defined. * **Organization-wide rules**: The team must belong to the organization. * **Repository-level rules**: The team must belong to the organization that owns the repository. diff --git a/content/rest/code-quality/code-quality.md b/content/rest/code-quality/code-quality.md new file mode 100644 index 000000000000..53385736a662 --- /dev/null +++ b/content/rest/code-quality/code-quality.md @@ -0,0 +1,11 @@ +--- +title: REST API endpoints for code quality +shortTitle: Code quality +intro: Use the REST API to manage a code quality configuration. +versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖 + fpt: '*' +autogenerated: rest +allowTitleToDifferFromFilename: true +--- + + diff --git a/content/rest/code-quality/index.md b/content/rest/code-quality/index.md new file mode 100644 index 000000000000..6f1557799006 --- /dev/null +++ b/content/rest/code-quality/index.md @@ -0,0 +1,10 @@ +--- +title: code-quality +autogenerated: rest +allowTitleToDifferFromFilename: true +children: + - /code-quality +versions: + fpt: '*' +--- + diff --git a/content/rest/index.md b/content/rest/index.md index ba61cd59a19f..7f61d15efdb2 100644 --- a/content/rest/index.md +++ b/content/rest/index.md @@ -58,6 +58,7 @@ children: - /campaigns - /checks - /classroom + - /code-quality - /code-scanning - /code-security - /codes-of-conduct diff --git a/data/reusables/copilot/auto-model-selection.md b/data/reusables/copilot/auto-model-selection.md index db0e79438f45..8b07d817a346 100644 --- a/data/reusables/copilot/auto-model-selection.md +++ b/data/reusables/copilot/auto-model-selection.md @@ -1 +1 @@ -When you use {% data variables.copilot.copilot_chat_short %} in supported IDEs, **Auto** will automatically select the best model for you based on availability. You can manually choose a different model to override this selection. See [AUTOTITLE](/copilot/concepts/auto-model-selection) and [AUTOTITLE](/copilot/how-tos/use-ai-models/change-the-chat-model?tool=vscode). +When you use {% data variables.copilot.copilot_chat_short %} in supported IDEs, **Auto** will automatically select the best model for you based on availability. You can manually choose a different model to override this selection. See [AUTOTITLE](/copilot/concepts/auto-model-selection). diff --git a/data/reusables/copilot/change-the-ai-model.md b/data/reusables/copilot/change-the-ai-model.md index a7b7a27714b2..b693f9f78684 100644 --- a/data/reusables/copilot/change-the-ai-model.md +++ b/data/reusables/copilot/change-the-ai-model.md @@ -1 +1 @@ -You can change the model {% data variables.product.prodname_copilot_short %} uses to generate responses to chat prompts. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. Options include premium models with advanced capabilities. See [AUTOTITLE](/copilot/using-github-copilot/ai-models/changing-the-ai-model-for-copilot-chat). +You can change the model {% data variables.product.prodname_copilot_short %} uses to generate responses. You may find that different models perform better, or provide more useful responses, depending on the type of questions you ask. Options include premium models with advanced capabilities. \ No newline at end of file diff --git a/data/reusables/support/scope-of-support.md b/data/reusables/support/scope-of-support.md index b189d8bb9009..6b52eca7d4a2 100644 --- a/data/reusables/support/scope-of-support.md +++ b/data/reusables/support/scope-of-support.md @@ -16,6 +16,8 @@ If your support request is outside of the scope of what our team can help you wi * Comprehensive support for customization and tool installation on {% data variables.product.prodname_actions %} custom images * Preview features. {% data variables.release-phases.public_preview_caps %}, {% data variables.release-phases.private_preview %}, and {% data variables.release-phases.technical_preview %} features are out of {% data variables.contact.github_support %}'s scope. * {% data variables.product.prodname_copilot %} suggestions +* {% data variables.product.prodname_copilot %} consumption questions. {% data variables.contact.github_support %} does not audit or break down {% data variables.product.prodname_copilot_short %} usage consumption. Support can explain the billing model and point you to available usage-reporting documentation, but cannot determine why usage appears high or why included usage was exhausted sooner than expected. +* Metered billing explanations. {% data variables.contact.github_support %} does not interpret usage reporting or spending trends for metered {% data variables.product.github %} billing products, nor provide recommendations based on that data. For more information, see [AUTOTITLE](/billing/concepts/billing-cycles). {% data variables.product.prodname_copilot %} provides AI-powered code suggestions and responses. As outlined in our legal terms, you retain full responsibility for your code, including any suggestions you choose to incorporate. The quality, accuracy, relevance, or functionality of {% data variables.product.prodname_copilot_short %}’s responses may not always meet your expectations, and mistakes may occur. It is your decision whether to use {% data variables.product.prodname_copilot_short %}’s suggestions, and GitHub strongly recommends implementing reasonable policies and practices to prevent the use of any suggestion in a way that could violate the rights of others. This includes, but is not limited to, using the filtering features available in {% data variables.product.prodname_copilot_short %}. diff --git a/data/tables/copilot/model-supported-clients.yml b/data/tables/copilot/model-supported-clients.yml index cad6d48a83fa..50000c898052 100644 --- a/data/tables/copilot/model-supported-clients.yml +++ b/data/tables/copilot/model-supported-clients.yml @@ -24,7 +24,7 @@ jetbrains: true - name: Claude Opus 4.5 - dotcom: true + dotcom: false cli: true vscode: true vs: true @@ -78,7 +78,7 @@ jetbrains: false - name: Gemini 2.5 Pro - dotcom: true + dotcom: false cli: false vscode: true vs: true @@ -87,7 +87,7 @@ jetbrains: true - name: Gemini 3 Flash - dotcom: true + dotcom: false cli: false vscode: true vs: true @@ -96,7 +96,7 @@ jetbrains: true - name: Gemini 3.1 Pro - dotcom: true + dotcom: false cli: false vscode: true vs: true @@ -123,7 +123,7 @@ jetbrains: true - name: GPT-5 mini - dotcom: true + dotcom: false cli: true vscode: true vs: true @@ -141,7 +141,7 @@ jetbrains: true - name: GPT-5.2-Codex - dotcom: true + dotcom: false cli: true vscode: true vs: true diff --git a/package-lock.json b/package-lock.json index d2c5ebe213af..4c514a1adb5c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -61,7 +61,7 @@ "highlightjs-curl": "^1.3.0", "hot-shots": "^14.3.1", "html-entities": "^2.5.6", - "http-proxy-middleware": "^3.0.5", + "http-proxy-middleware": "^4.0.0", "imurmurhash": "^0.1.4", "is-svg": "6.0.0", "javascript-stringify": "^2.1.0", @@ -171,7 +171,7 @@ "husky": "^9.1.7", "jiti": "^2.6.1", "json-schema-merge-allof": "^0.8.1", - "lint-staged": "^16.2.7", + "lint-staged": "^17.0.4", "markdownlint": "^0.34.0", "markdownlint-rule-search-replace": "^1.2.0", "mkdirp": "^3.0.1", @@ -5009,7 +5009,6 @@ "version": "2.5.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.5.1.tgz", "integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==", - "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -5049,7 +5048,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5070,7 +5068,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5091,7 +5088,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5112,7 +5108,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5133,7 +5128,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5154,7 +5148,6 @@ "cpu": [ "arm" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5175,7 +5168,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5196,7 +5188,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5217,7 +5208,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5238,7 +5228,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5259,7 +5248,6 @@ "cpu": [ "arm64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5280,7 +5268,6 @@ "cpu": [ "ia32" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5301,7 +5288,6 @@ "cpu": [ "x64" ], - "dev": true, "license": "MIT", "optional": true, "os": [ @@ -5319,7 +5305,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", - "dev": true, "license": "Apache-2.0", "optional": true, "bin": { @@ -6281,14 +6266,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@types/http-proxy": { - "version": "1.17.15", - "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.15.tgz", - "integrity": "sha512-25g5atgiVNTIv0LBDTg1H74Hvayx0ajtJPLLcYE3whFv75J0pWNtOBzaXJQgDTmrX1bx5U9YC2w/n65BN1HwRQ==", - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/@types/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -8222,14 +8199,14 @@ } }, "node_modules/cli-truncate": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.1.1.tgz", - "integrity": "sha512-SroPvNHxUnk+vIW/dOSfNqdy1sPEFkrTk6TUtqLCnBlo3N7TNYYkzzN7uSD6+jVjrdO4+p8nH7JzH6cIvUem6A==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-5.2.0.tgz", + "integrity": "sha512-xRwvIOMGrfOAnM1JYtqQImuaNtDEv9v6oIYAs4LIHwTiKee8uwvIi363igssOC0O5U04i4AlENs79LQLu9tEMw==", "dev": true, "license": "MIT", "dependencies": { - "slice-ansi": "^7.1.0", - "string-width": "^8.0.0" + "slice-ansi": "^8.0.0", + "string-width": "^8.2.0" }, "engines": { "node": ">=20" @@ -8252,9 +8229,9 @@ } }, "node_modules/cli-truncate/node_modules/string-width": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.0.tgz", - "integrity": "sha512-6hJPQ8N0V0P3SNmP6h2J99RLuzrWz2gvT7VnK5tKvrNqJoyS9W4/Fb8mo31UiPvy00z7DQXkP2hnKBVav76thw==", + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.1.tgz", + "integrity": "sha512-IIaP0g3iy9Cyy18w3M9YcaDudujEAVHKt3a3QJg1+sr/oX96TbaGUubG0hJyCjCBThFH+tFpcIyoUHUn1ogaLA==", "dev": true, "license": "MIT", "dependencies": { @@ -8269,13 +8246,13 @@ } }, "node_modules/cli-truncate/node_modules/strip-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz", - "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^6.2.2" }, "engines": { "node": ">=12" @@ -8379,13 +8356,6 @@ "resolved": "https://registry.npmjs.org/color2k/-/color2k-2.0.3.tgz", "integrity": "sha512-zW190nQTIoXcGCaU08DvVNFTmQhUpnJfVuAKfWqUQkflXKpaDdpaYoM0iluLS9lgJNHyBF58KKA2FBEwkD7wog==" }, - "node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "dev": true, - "license": "MIT" - }, "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", @@ -10237,6 +10207,7 @@ }, "node_modules/eventemitter3": { "version": "4.0.7", + "dev": true, "license": "MIT" }, "node_modules/execa": { @@ -10653,7 +10624,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "hasInstallScript": true, "optional": true, "os": [ @@ -11428,18 +11398,6 @@ "url": "https://opencollective.com/express" } }, - "node_modules/http-proxy": { - "version": "1.18.1", - "license": "MIT", - "dependencies": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/http-proxy-agent": { "version": "7.0.2", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", @@ -11453,20 +11411,19 @@ } }, "node_modules/http-proxy-middleware": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.5.tgz", - "integrity": "sha512-GLZZm1X38BPY4lkXA01jhwxvDoOkkXqjgVyUzVxiEK4iuRu03PZoYHhHRwxnfhQMDuaxi3vVri0YgSro/1oWqg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-4.0.0.tgz", + "integrity": "sha512-wuHwaUtmC0XzJNHqRp41zXtt5ojpHbusXGhq6781VvnjWUYPu7opmOF3eomGNujT07kEOnHWZyV9UZzKimVCKA==", "license": "MIT", "dependencies": { - "@types/http-proxy": "^1.17.15", - "debug": "^4.3.6", - "http-proxy": "^1.18.1", + "debug": "^4.4.3", + "httpxy": "^0.5.1", "is-glob": "^4.0.3", - "is-plain-object": "^5.0.0", + "is-plain-obj": "^4.1.0", "micromatch": "^4.0.8" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^22.15.0 || ^24.0.0 || >=26.0.0" } }, "node_modules/http-status-code": { @@ -11530,6 +11487,12 @@ "node": ">= 14" } }, + "node_modules/httpxy": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/httpxy/-/httpxy-0.5.2.tgz", + "integrity": "sha512-C5OM92bmywDDdKTuYCGejdNFAb/zy0LX4srimOudYko847HvoWL2Eeik9odh9friPKu/JrlWv4z/amrJoxq2Cg==", + "license": "MIT" + }, "node_modules/human-signals": { "version": "2.1.0", "dev": true, @@ -12065,14 +12028,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-promise": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", @@ -12587,28 +12542,41 @@ } }, "node_modules/lint-staged": { - "version": "16.2.7", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.2.7.tgz", - "integrity": "sha512-lDIj4RnYmK7/kXMya+qJsmkRFkGolciXjrsZ6PC25GdTfWOAWetR0ZbsNXRAj1EHHImRSalc+whZFg56F5DVow==", + "version": "17.0.4", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.0.4.tgz", + "integrity": "sha512-+rU9lSUyVOZ/hDUmRLVGzyS2v73cDdQjX+XQz1AaOdIE4RysLq0HoPW2HrrgeNCLklkhi904VBU1bmgWLHVnkA==", "dev": true, "license": "MIT", "dependencies": { - "commander": "^14.0.2", - "listr2": "^9.0.5", - "micromatch": "^4.0.8", - "nano-spawn": "^2.0.0", - "pidtree": "^0.6.0", + "listr2": "^10.2.1", + "picomatch": "^4.0.4", "string-argv": "^0.3.2", - "yaml": "^2.8.1" + "tinyexec": "^1.1.2" }, "bin": { "lint-staged": "bin/lint-staged.js" }, "engines": { - "node": ">=20.17" + "node": ">=22.22.1" }, "funding": { "url": "https://opencollective.com/lint-staged" + }, + "optionalDependencies": { + "yaml": "^2.8.4" + } + }, + "node_modules/lint-staged/node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/liquidjs": { @@ -12640,21 +12608,46 @@ } }, "node_modules/listr2": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-9.0.5.tgz", - "integrity": "sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==", + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-10.2.1.tgz", + "integrity": "sha512-7I5knELsJKTUjXG+A6BkKAiGkW1i25fNa/xlUl9hFtk15WbE9jndA89xu5FzQKrY5llajE1hfZZFMILXkDHk/Q==", "dev": true, "license": "MIT", "dependencies": { - "cli-truncate": "^5.0.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", + "cli-truncate": "^5.2.0", + "eventemitter3": "^5.0.4", "log-update": "^6.1.0", "rfdc": "^1.4.1", - "wrap-ansi": "^9.0.0" + "wrap-ansi": "^10.0.0" }, "engines": { - "node": ">=20.0.0" + "node": ">=22.13.0" + } + }, + "node_modules/listr2/node_modules/ansi-regex": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz", + "integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/listr2/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/listr2/node_modules/eventemitter3": { @@ -12664,6 +12657,57 @@ "dev": true, "license": "MIT" }, + "node_modules/listr2/node_modules/string-width": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.2.1.tgz", + "integrity": "sha512-IIaP0g3iy9Cyy18w3M9YcaDudujEAVHKt3a3QJg1+sr/oX96TbaGUubG0hJyCjCBThFH+tFpcIyoUHUn1ogaLA==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.5.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/listr2/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/listr2/node_modules/wrap-ansi": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-10.0.0.tgz", + "integrity": "sha512-SGcvg80f0wUy2/fXES19feHMz8E0JoXv2uNgHOu4Dgi2OrCy1lqwFYEJz1BLbDI0exjPMe/ZdzZ/YpGECBG/aQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.3", + "string-width": "^8.2.0", + "strip-ansi": "^7.1.2" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, "node_modules/lodash": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", @@ -12794,6 +12838,52 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/is-fullwidth-code-point": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.1.0.tgz", + "integrity": "sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-east-asian-width": "^1.3.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", + "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, "node_modules/long": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", @@ -14028,19 +14118,6 @@ "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==", "optional": true }, - "node_modules/nano-spawn": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-2.0.0.tgz", - "integrity": "sha512-tacvGzUY5o2D8CBh2rrwxyNojUsZNU2zjNTzKQrkgGJQTbGAfArVWXSKMBokBeeg6C7OLRGUEyoFlYbfeWQIqw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20.17" - }, - "funding": { - "url": "https://github.com/sindresorhus/nano-spawn?sponsor=1" - } - }, "node_modules/nanoid": { "version": "3.3.11", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", @@ -14567,7 +14644,6 @@ "version": "7.1.1", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", - "dev": true, "license": "MIT", "optional": true }, @@ -15321,17 +15397,6 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/pidtree": { - "version": "0.6.0", - "dev": true, - "license": "MIT", - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, "node_modules/playwright": { "version": "1.58.2", "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.2.tgz", @@ -15911,10 +15976,6 @@ "node": ">=9.3.0 || >=8.10.0 <9.0.0" } }, - "node_modules/requires-port": { - "version": "1.0.0", - "license": "MIT" - }, "node_modules/resolve": { "version": "1.22.10", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", @@ -16689,17 +16750,17 @@ } }, "node_modules/slice-ansi": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.2.tgz", - "integrity": "sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-8.0.0.tgz", + "integrity": "sha512-stxByr12oeeOyY2BlviTNQlYV5xOj47GirPr4yA1hE9JCtxfQN0+tVbkxwCtYDQWhEKWFHsEK48ORg5jrouCAg==", "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^6.2.1", - "is-fullwidth-code-point": "^5.0.0" + "ansi-styles": "^6.2.3", + "is-fullwidth-code-point": "^5.1.0" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "url": "https://github.com/chalk/slice-ansi?sponsor=1" @@ -17307,9 +17368,9 @@ "dev": true }, "node_modules/tinyexec": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.0.2.tgz", - "integrity": "sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.1.2.tgz", + "integrity": "sha512-dAqSqE/RabpBKI8+h26GfLq6Vb3JVXs30XYQjdMjaj/c2tS8IYYMbIzP599KtRj7c57/wYApb3QjgRgXmrCukA==", "dev": true, "license": "MIT", "engines": { @@ -18896,9 +18957,9 @@ "peer": true }, "node_modules/yaml": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz", - "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", "license": "ISC", "bin": { "yaml": "bin.mjs" diff --git a/package.json b/package.json index c51064b9b53a..c94f5fc265c7 100644 --- a/package.json +++ b/package.json @@ -219,7 +219,7 @@ "highlightjs-curl": "^1.3.0", "hot-shots": "^14.3.1", "html-entities": "^2.5.6", - "http-proxy-middleware": "^3.0.5", + "http-proxy-middleware": "^4.0.0", "imurmurhash": "^0.1.4", "is-svg": "6.0.0", "javascript-stringify": "^2.1.0", @@ -329,7 +329,7 @@ "husky": "^9.1.7", "jiti": "^2.6.1", "json-schema-merge-allof": "^0.8.1", - "lint-staged": "^16.2.7", + "lint-staged": "^17.0.4", "markdownlint": "^0.34.0", "markdownlint-rule-search-replace": "^1.2.0", "mkdirp": "^3.0.1", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 693dfd462bb1..e7836cdf248e 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -4512,6 +4512,24 @@ "additional-permissions": false, "access": "write" }, + { + "category": "code-quality", + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "additional-permissions": false, + "access": "write" + }, + { + "category": "code-quality", + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "additional-permissions": false, + "access": "write" + }, { "category": "code-scanning", "slug": "get-a-code-scanning-default-setup-configuration", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index 864e56173094..4e97eec5d44e 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -1697,6 +1697,20 @@ "requestPath": "/orgs/{org}/campaigns/{campaign_number}" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index 138af8f049ac..0c8502df8dab 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -5828,6 +5828,28 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "code-quality", + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "code-quality", + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "code-scanning", "slug": "get-a-code-scanning-default-setup-configuration", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index 55ca88ecf8d8..2a1fade68810 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -1833,6 +1833,20 @@ "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index 2dd6a77998a5..273dd6c88dd2 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -1931,6 +1931,20 @@ "requestPath": "/classrooms/{classroom_id}/assignments" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json index 693dfd462bb1..e7836cdf248e 100644 --- a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat-permissions.json @@ -4512,6 +4512,24 @@ "additional-permissions": false, "access": "write" }, + { + "category": "code-quality", + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "additional-permissions": false, + "access": "write" + }, + { + "category": "code-quality", + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "additional-permissions": false, + "access": "write" + }, { "category": "code-scanning", "slug": "get-a-code-scanning-default-setup-configuration", diff --git a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json index 864e56173094..4e97eec5d44e 100644 --- a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json @@ -1697,6 +1697,20 @@ "requestPath": "/orgs/{org}/campaigns/{campaign_number}" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json b/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json index 138af8f049ac..0c8502df8dab 100644 --- a/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2026-03-10/server-to-server-permissions.json @@ -5828,6 +5828,28 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "code-quality", + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "code-quality", + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "code-scanning", "slug": "get-a-code-scanning-default-setup-configuration", diff --git a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json index 55ca88ecf8d8..2a1fade68810 100644 --- a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json @@ -1833,6 +1833,20 @@ "requestPath": "/repos/{owner}/{repo}/commits/{ref}/check-suites" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json index 2dd6a77998a5..273dd6c88dd2 100644 --- a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json @@ -1931,6 +1931,20 @@ "requestPath": "/classrooms/{classroom_id}/assignments" } ], + "code-quality": [ + { + "slug": "get-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + }, + { + "slug": "update-a-code-quality-setup-configuration", + "subcategory": "code-quality", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup" + } + ], "code-scanning": [ { "slug": "list-code-scanning-alerts-for-an-organization", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 3e84c07f65ef..68121bc0a114 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "f5d3342150d3748e7307c81639635706f8338a12" + "sha": "133d385dfbee06825d4d4136a82dd2b4c79813ba" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/actions.json b/src/rest/data/fpt-2022-11-28/actions.json index 18a98ba54ed3..6c6d34a4ebfd 100644 --- a/src/rest/data/fpt-2022-11-28/actions.json +++ b/src/rest/data/fpt-2022-11-28/actions.json @@ -664,11 +664,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -940,8 +940,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1016,8 +1015,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1093,8 +1091,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1169,8 +1166,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2181,12 +2177,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -2196,11 +2192,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -2707,8 +2703,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } }, { @@ -2717,8 +2712,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } } ], @@ -4273,8 +4267,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -4388,8 +4381,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -5841,8 +5833,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5945,8 +5936,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -6021,8 +6011,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -27204,11 +27193,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -27820,8 +27809,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37385,16 +37373,7 @@ "in": "path", "description": "
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -37472,8 +37451,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -40016,16 +39994,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40172,16 +40141,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40252,16 +40212,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -40394,16 +40345,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40474,16 +40416,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/fpt-2022-11-28/activity.json b/src/rest/data/fpt-2022-11-28/activity.json index 57832064d97c..0474ee33cad2 100644 --- a/src/rest/data/fpt-2022-11-28/activity.json +++ b/src/rest/data/fpt-2022-11-28/activity.json @@ -90081,8 +90081,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90091,8 +90090,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -92482,8 +92480,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -92492,8 +92489,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -94173,11 +94169,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -94187,11 +94183,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -96162,11 +96158,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -96176,11 +96172,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/agent-tasks.json b/src/rest/data/fpt-2022-11-28/agent-tasks.json index 2dcafcd7dd96..39a5e36130ee 100644 --- a/src/rest/data/fpt-2022-11-28/agent-tasks.json +++ b/src/rest/data/fpt-2022-11-28/agent-tasks.json @@ -31,9 +31,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -42,8 +40,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -94,8 +91,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" }, @@ -1194,9 +1190,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -1205,8 +1199,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -1257,8 +1250,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" } diff --git a/src/rest/data/fpt-2022-11-28/apps.json b/src/rest/data/fpt-2022-11-28/apps.json index 064f7efde5aa..9cf9a5c76a62 100644 --- a/src/rest/data/fpt-2022-11-28/apps.json +++ b/src/rest/data/fpt-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10889,8 +10888,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -10928,8 +10926,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11978,8 +11975,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -12890,8 +12886,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13583,11 +13578,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -14505,11 +14500,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/campaigns.json b/src/rest/data/fpt-2022-11-28/campaigns.json index c01b5c8bb82f..6bbabf61ee61 100644 --- a/src/rest/data/fpt-2022-11-28/campaigns.json +++ b/src/rest/data/fpt-2022-11-28/campaigns.json @@ -42,11 +42,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -55,8 +55,6 @@ "in": "query", "required": false, "schema": { - "title": "Campaign state", - "description": "Indicates whether a campaign is open or closed", "type": "string", "enum": [ "open", @@ -71,13 +69,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "ends_at", "published" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/fpt-2022-11-28/checks.json b/src/rest/data/fpt-2022-11-28/checks.json index caf4b7ae64b6..159f19fd3091 100644 --- a/src/rest/data/fpt-2022-11-28/checks.json +++ b/src/rest/data/fpt-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/code-quality.json b/src/rest/data/fpt-2022-11-28/code-quality.json new file mode 100644 index 000000000000..7802ca488a3b --- /dev/null +++ b/src/rest/data/fpt-2022-11-28/code-quality.json @@ -0,0 +1,303 @@ +{ + "code-quality": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "title": "Get a code quality setup configuration", + "category": "code-quality", + "subcategory": "code-quality", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
Gets a code quality setup configuration.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
Response
", + "example": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + }, + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "403", + "description": "Response if the user is not authorized to access Code quality for this repository.
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" repository permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "title": "Update a code quality setup configuration", + "category": "code-quality", + "subcategory": "code-quality", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
The desired state of code quality setup.
", + "enum": [ + "configured", + "not-configured" + ] + }, + { + "type": "string", + "name": "runner_type", + "description": "Runner type to be used.
", + "enum": [ + "standard", + "labeled" + ] + }, + { + "type": "string or null", + "name": "runner_label", + "description": "Runner label to be used if the runner type is labeled.
" + }, + { + "type": "array of strings", + "name": "languages", + "description": "Languages to be analyzed.\nSupported values are: csharp, go, java-kotlin, javascript-typescript, python, ruby
Updates a code quality setup configuration.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
Response
", + "example": { + "run_id": 42, + "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" + }, + "schema": { + "description": "You can use `run_url` to track the status of the run. This includes a property status and conclusion.\nYou should not rely on this always being an actions workflow run object.", + "type": "object", + "properties": { + "run_id": { + "description": "ID of the corresponding run.", + "type": "integer" + }, + "run_url": { + "description": "URL of the corresponding run.", + "type": "string" + } + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "202", + "description": "Accepted
" + }, + { + "httpStatusCode": "403", + "description": "Response if the repository is archived or if Code quality is not enabled for this repository
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "409", + "description": "Response if there is already a code quality setup configuration update in progress
" + }, + { + "httpStatusCode": "422", + "description": "Response if the configuration change cannot be made
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" repository permissions": "write" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/code-scanning.json b/src/rest/data/fpt-2022-11-28/code-scanning.json index ed2d68ea686c..d910524a85da 100644 --- a/src/rest/data/fpt-2022-11-28/code-scanning.json +++ b/src/rest/data/fpt-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -127,7 +124,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -1489,8 +1485,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1502,8 +1497,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1530,8 +1524,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -4931,11 +4902,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4945,10 +4916,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/fpt-2022-11-28/code-security.json b/src/rest/data/fpt-2022-11-28/code-security.json index b62aa5041e83..cfa4eb24c6dc 100644 --- a/src/rest/data/fpt-2022-11-28/code-security.json +++ b/src/rest/data/fpt-2022-11-28/code-security.json @@ -3867,11 +3867,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/codespaces.json b/src/rest/data/fpt-2022-11-28/codespaces.json index bb640660fb8e..067c0a51c9b4 100644 --- a/src/rest/data/fpt-2022-11-28/codespaces.json +++ b/src/rest/data/fpt-2022-11-28/codespaces.json @@ -4783,10 +4783,7 @@ "description": "The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } }, { @@ -4794,10 +4791,7 @@ "description": "An alternative IP for default location auto-detection, such as when proxying a request.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "1.2.3.4" - ] + "type": "string" } } ], @@ -5042,10 +5036,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - "master" - ] + "type": "string" } }, { @@ -5054,10 +5045,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - ".devcontainer/example/devcontainer.json" - ] + "type": "string" } } ], @@ -23236,10 +23224,7 @@ "description": "The location to check for available machines. Assigned by IP if not provided.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "WestUs2" - ] + "type": "string" } }, { @@ -23255,10 +23240,7 @@ "description": "The branch or commit to check for prebuild availability and devcontainer restrictions.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2022-11-28/collaborators.json b/src/rest/data/fpt-2022-11-28/collaborators.json index d4dc3665f126..61552800219b 100644 --- a/src/rest/data/fpt-2022-11-28/collaborators.json +++ b/src/rest/data/fpt-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -5667,8 +5667,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/commits.json b/src/rest/data/fpt-2022-11-28/commits.json index cd6016387f9d..77c0d8aeed1e 100644 --- a/src/rest/data/fpt-2022-11-28/commits.json +++ b/src/rest/data/fpt-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/fpt-2022-11-28/copilot-spaces.json b/src/rest/data/fpt-2022-11-28/copilot-spaces.json index 0f232a8e3c2d..691603f5daad 100644 --- a/src/rest/data/fpt-2022-11-28/copilot-spaces.json +++ b/src/rest/data/fpt-2022-11-28/copilot-spaces.json @@ -23,8 +23,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -2795,8 +2793,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/fpt-2022-11-28/copilot.json b/src/rest/data/fpt-2022-11-28/copilot.json index 22e573042e6b..0aa6763175ff 100644 --- a/src/rest/data/fpt-2022-11-28/copilot.json +++ b/src/rest/data/fpt-2022-11-28/copilot.json @@ -3509,11 +3509,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3593,8 +3589,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3698,8 +3693,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3725,11 +3719,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3809,8 +3799,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3836,11 +3825,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3920,8 +3905,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4025,8 +4009,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4052,11 +4035,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -4270,11 +4249,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -4384,11 +4359,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2022-11-28/dependabot.json b/src/rest/data/fpt-2022-11-28/dependabot.json index 20d1deb2df0d..381db24ab9e4 100644 --- a/src/rest/data/fpt-2022-11-28/dependabot.json +++ b/src/rest/data/fpt-2022-11-28/dependabot.json @@ -69,22 +69,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -8677,10 +8657,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "array" }, "description": "" } diff --git a/src/rest/data/fpt-2022-11-28/orgs.json b/src/rest/data/fpt-2022-11-28/orgs.json index 2c20468f035c..07868ebb695a 100644 --- a/src/rest/data/fpt-2022-11-28/orgs.json +++ b/src/rest/data/fpt-2022-11-28/orgs.json @@ -4013,11 +4013,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4026,19 +4026,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "http_method", - "api_route", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -4196,11 +4184,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4209,18 +4197,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5139,11 +5116,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5152,18 +5129,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5541,10 +5507,7 @@ "description": "The cluster name.
", "required": true, "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" + "type": "string" } } ], @@ -6006,10 +5969,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -6166,10 +6126,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -10695,14 +10652,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "direct_member", "billing_manager", "hiring_manager" - ], - "default": "all" + ] } }, { @@ -10712,12 +10669,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "member", "scim" - ], - "default": "all" + ] } } ], @@ -11682,12 +11639,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -11697,12 +11654,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -16930,12 +16887,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -17349,10 +17306,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -17362,11 +17319,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -17375,14 +17332,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -17391,10 +17341,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -17403,10 +17350,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -17415,8 +17359,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -17425,8 +17368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -17435,14 +17377,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -17750,8 +17685,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17855,8 +17789,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17956,8 +17889,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18886,8 +18818,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -18932,10 +18863,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -18945,11 +18876,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -18958,14 +18889,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -18974,10 +18898,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -18986,10 +18907,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -18998,8 +18916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19008,8 +18925,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19018,14 +18934,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -19324,8 +19233,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19423,8 +19331,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19517,8 +19424,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20447,8 +20353,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -20493,13 +20398,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -20516,13 +20421,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -20969,10 +20874,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2022-11-28/packages.json b/src/rest/data/fpt-2022-11-28/packages.json index 7d5dfb2b734c..cda1e630565c 100644 --- a/src/rest/data/fpt-2022-11-28/packages.json +++ b/src/rest/data/fpt-2022-11-28/packages.json @@ -2095,8 +2095,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3102,8 +3101,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3193,8 +3191,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3293,8 +3290,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3365,11 +3361,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3546,8 +3542,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3753,8 +3748,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3854,8 +3848,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3955,8 +3948,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6012,8 +6004,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7076,8 +7067,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7157,8 +7147,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7247,8 +7236,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7310,11 +7298,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7498,8 +7486,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7695,8 +7682,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7786,8 +7772,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7877,8 +7862,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9976,8 +9960,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11050,8 +11033,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11141,8 +11123,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11241,8 +11222,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11479,8 +11459,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11683,8 +11662,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11784,8 +11762,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11885,8 +11862,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/fpt-2022-11-28/pages.json b/src/rest/data/fpt-2022-11-28/pages.json index 88b7eb4d2181..fb08afc988c9 100644 --- a/src/rest/data/fpt-2022-11-28/pages.json +++ b/src/rest/data/fpt-2022-11-28/pages.json @@ -1831,16 +1831,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1943,16 +1934,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/fpt-2022-11-28/projects.json b/src/rest/data/fpt-2022-11-28/projects.json index cf9178d5ec13..cd3098ec5371 100644 --- a/src/rest/data/fpt-2022-11-28/projects.json +++ b/src/rest/data/fpt-2022-11-28/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -39651,20 +39625,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -72755,20 +72690,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -37349,8 +37328,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -39887,16 +39865,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40043,16 +40012,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40123,16 +40083,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -40256,16 +40207,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40336,16 +40278,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/fpt-2026-03-10/activity.json b/src/rest/data/fpt-2026-03-10/activity.json index dbdee5cdf8c1..563f3a988a73 100644 --- a/src/rest/data/fpt-2026-03-10/activity.json +++ b/src/rest/data/fpt-2026-03-10/activity.json @@ -87741,8 +87741,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -87751,8 +87750,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90136,8 +90134,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90146,8 +90143,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -91824,11 +91820,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -91838,11 +91834,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -93781,11 +93777,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -93795,11 +93791,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/agent-tasks.json b/src/rest/data/fpt-2026-03-10/agent-tasks.json index 2dcafcd7dd96..39a5e36130ee 100644 --- a/src/rest/data/fpt-2026-03-10/agent-tasks.json +++ b/src/rest/data/fpt-2026-03-10/agent-tasks.json @@ -31,9 +31,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -42,8 +40,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -94,8 +91,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" }, @@ -1194,9 +1190,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -1205,8 +1199,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -1257,8 +1250,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" } diff --git a/src/rest/data/fpt-2026-03-10/apps.json b/src/rest/data/fpt-2026-03-10/apps.json index b85b1d3266ba..86db5ed9889d 100644 --- a/src/rest/data/fpt-2026-03-10/apps.json +++ b/src/rest/data/fpt-2026-03-10/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10857,8 +10856,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -10896,8 +10894,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11946,8 +11943,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -12842,8 +12838,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13535,11 +13530,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -14457,11 +14452,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/campaigns.json b/src/rest/data/fpt-2026-03-10/campaigns.json index c01b5c8bb82f..6bbabf61ee61 100644 --- a/src/rest/data/fpt-2026-03-10/campaigns.json +++ b/src/rest/data/fpt-2026-03-10/campaigns.json @@ -42,11 +42,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -55,8 +55,6 @@ "in": "query", "required": false, "schema": { - "title": "Campaign state", - "description": "Indicates whether a campaign is open or closed", "type": "string", "enum": [ "open", @@ -71,13 +69,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "ends_at", "published" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/fpt-2026-03-10/checks.json b/src/rest/data/fpt-2026-03-10/checks.json index 38b12f1955f9..952a9a025842 100644 --- a/src/rest/data/fpt-2026-03-10/checks.json +++ b/src/rest/data/fpt-2026-03-10/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/code-quality.json b/src/rest/data/fpt-2026-03-10/code-quality.json new file mode 100644 index 000000000000..7802ca488a3b --- /dev/null +++ b/src/rest/data/fpt-2026-03-10/code-quality.json @@ -0,0 +1,303 @@ +{ + "code-quality": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "title": "Get a code quality setup configuration", + "category": "code-quality", + "subcategory": "code-quality", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
Gets a code quality setup configuration.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
Response
", + "example": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python" + ], + "runner_type": "standard", + "runner_label": null, + "updated_at": "2023-01-01T00:00:00Z", + "schedule": "weekly" + }, + "schema": { + "description": "Configuration for code quality setup.", + "type": "object", + "properties": { + "state": { + "description": "Code quality setup has been configured or not.", + "type": "string", + "enum": [ + "configured", + "not-configured" + ] + }, + "languages": { + "description": "Languages to be analyzed.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "csharp", + "go", + "java-kotlin", + "javascript-typescript", + "python", + "ruby", + "rust" + ] + } + }, + "runner_type": { + "description": "Runner type to be used.", + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + null + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ] + }, + "updated_at": { + "description": "Timestamp of latest configuration update.", + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "schedule": { + "description": "The frequency of the periodic analysis.", + "type": [ + "string", + "null" + ], + "enum": [ + "weekly", + null + ] + } + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "403", + "description": "Response if the user is not authorized to access Code quality for this repository.
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" repository permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/repos/{owner}/{repo}/code-quality/setup", + "title": "Update a code quality setup configuration", + "category": "code-quality", + "subcategory": "code-quality", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
The desired state of code quality setup.
", + "enum": [ + "configured", + "not-configured" + ] + }, + { + "type": "string", + "name": "runner_type", + "description": "Runner type to be used.
", + "enum": [ + "standard", + "labeled" + ] + }, + { + "type": "string or null", + "name": "runner_label", + "description": "Runner label to be used if the runner type is labeled.
" + }, + { + "type": "array of strings", + "name": "languages", + "description": "Languages to be analyzed.\nSupported values are: csharp, go, java-kotlin, javascript-typescript, python, ruby
Updates a code quality setup configuration.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.
Response
", + "example": { + "run_id": 42, + "run_url": "https://api.github.com/repos/octocat/hello-world/actions/runs/42" + }, + "schema": { + "description": "You can use `run_url` to track the status of the run. This includes a property status and conclusion.\nYou should not rely on this always being an actions workflow run object.", + "type": "object", + "properties": { + "run_id": { + "description": "ID of the corresponding run.", + "type": "integer" + }, + "run_url": { + "description": "URL of the corresponding run.", + "type": "string" + } + } + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "OK
" + }, + { + "httpStatusCode": "202", + "description": "Accepted
" + }, + { + "httpStatusCode": "403", + "description": "Response if the repository is archived or if Code quality is not enabled for this repository
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "409", + "description": "Response if there is already a code quality setup configuration update in progress
" + }, + { + "httpStatusCode": "422", + "description": "Response if the configuration change cannot be made
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" repository permissions": "write" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/src/rest/data/fpt-2026-03-10/code-scanning.json b/src/rest/data/fpt-2026-03-10/code-scanning.json index a4c23c582fc0..97668834a5c4 100644 --- a/src/rest/data/fpt-2026-03-10/code-scanning.json +++ b/src/rest/data/fpt-2026-03-10/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -127,7 +124,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -1489,8 +1485,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1502,8 +1497,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1530,8 +1524,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -4931,11 +4902,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4945,10 +4916,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/fpt-2026-03-10/code-security.json b/src/rest/data/fpt-2026-03-10/code-security.json index b62aa5041e83..cfa4eb24c6dc 100644 --- a/src/rest/data/fpt-2026-03-10/code-security.json +++ b/src/rest/data/fpt-2026-03-10/code-security.json @@ -3867,11 +3867,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/codespaces.json b/src/rest/data/fpt-2026-03-10/codespaces.json index 0067d2345f77..b7cafaf28f21 100644 --- a/src/rest/data/fpt-2026-03-10/codespaces.json +++ b/src/rest/data/fpt-2026-03-10/codespaces.json @@ -4774,10 +4774,7 @@ "description": "The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } }, { @@ -4785,10 +4782,7 @@ "description": "An alternative IP for default location auto-detection, such as when proxying a request.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "1.2.3.4" - ] + "type": "string" } } ], @@ -5033,10 +5027,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - "master" - ] + "type": "string" } }, { @@ -5045,10 +5036,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - ".devcontainer/example/devcontainer.json" - ] + "type": "string" } } ], @@ -23146,10 +23134,7 @@ "description": "The location to check for available machines. Assigned by IP if not provided.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "WestUs2" - ] + "type": "string" } }, { @@ -23165,10 +23150,7 @@ "description": "The branch or commit to check for prebuild availability and devcontainer restrictions.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2026-03-10/collaborators.json b/src/rest/data/fpt-2026-03-10/collaborators.json index 5b82ead71154..dceebc59e75a 100644 --- a/src/rest/data/fpt-2026-03-10/collaborators.json +++ b/src/rest/data/fpt-2026-03-10/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -5659,8 +5659,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/commits.json b/src/rest/data/fpt-2026-03-10/commits.json index 8bce13fed123..93f3a520864b 100644 --- a/src/rest/data/fpt-2026-03-10/commits.json +++ b/src/rest/data/fpt-2026-03-10/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7615,8 +7613,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -7979,8 +7976,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8353,8 +8349,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/fpt-2026-03-10/copilot-spaces.json b/src/rest/data/fpt-2026-03-10/copilot-spaces.json index 0f232a8e3c2d..691603f5daad 100644 --- a/src/rest/data/fpt-2026-03-10/copilot-spaces.json +++ b/src/rest/data/fpt-2026-03-10/copilot-spaces.json @@ -23,8 +23,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -2795,8 +2793,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/fpt-2026-03-10/copilot.json b/src/rest/data/fpt-2026-03-10/copilot.json index 03f04f4bf97f..be375ab2791e 100644 --- a/src/rest/data/fpt-2026-03-10/copilot.json +++ b/src/rest/data/fpt-2026-03-10/copilot.json @@ -3506,11 +3506,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3590,8 +3586,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3695,8 +3690,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3722,11 +3716,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3806,8 +3796,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3833,11 +3822,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -3917,8 +3902,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4022,8 +4006,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4049,11 +4032,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -4267,11 +4246,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -4381,11 +4356,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2026-03-10/dependabot.json b/src/rest/data/fpt-2026-03-10/dependabot.json index 39ceb917e15e..55baf9b414c6 100644 --- a/src/rest/data/fpt-2026-03-10/dependabot.json +++ b/src/rest/data/fpt-2026-03-10/dependabot.json @@ -69,22 +69,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -1697,17 +1687,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -6281,10 +6261,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "array" }, "description": "" } diff --git a/src/rest/data/fpt-2026-03-10/orgs.json b/src/rest/data/fpt-2026-03-10/orgs.json index 644e42efbd41..2e828c272e95 100644 --- a/src/rest/data/fpt-2026-03-10/orgs.json +++ b/src/rest/data/fpt-2026-03-10/orgs.json @@ -3999,11 +3999,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4012,19 +4012,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "http_method", - "api_route", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -4182,11 +4170,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4195,18 +4183,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5125,11 +5102,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5138,18 +5115,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5527,10 +5493,7 @@ "description": "The cluster name.
", "required": true, "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" + "type": "string" } } ], @@ -5992,10 +5955,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -6152,10 +6112,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -10640,14 +10597,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "direct_member", "billing_manager", "hiring_manager" - ], - "default": "all" + ] } }, { @@ -10657,12 +10614,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "member", "scim" - ], - "default": "all" + ] } } ], @@ -11627,12 +11584,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -11642,12 +11599,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -16883,12 +16840,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -17302,10 +17259,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -17315,11 +17272,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -17328,14 +17285,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -17344,10 +17294,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -17356,10 +17303,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -17368,8 +17312,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -17378,8 +17321,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -17388,14 +17330,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -17703,8 +17638,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17808,8 +17742,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17909,8 +17842,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18836,8 +18768,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -18882,10 +18813,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -18895,11 +18826,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -18908,14 +18839,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -18924,10 +18848,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -18936,10 +18857,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -18948,8 +18866,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18958,8 +18875,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18968,14 +18884,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -19274,8 +19183,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19373,8 +19281,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19467,8 +19374,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20394,8 +20300,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -20440,13 +20345,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -20463,13 +20368,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -20916,10 +20821,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2026-03-10/packages.json b/src/rest/data/fpt-2026-03-10/packages.json index 2e9515d98336..9849ba5cec83 100644 --- a/src/rest/data/fpt-2026-03-10/packages.json +++ b/src/rest/data/fpt-2026-03-10/packages.json @@ -2089,8 +2089,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3093,8 +3092,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3184,8 +3182,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3284,8 +3281,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3356,11 +3352,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3537,8 +3533,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3744,8 +3739,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3845,8 +3839,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3946,8 +3939,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5997,8 +5989,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7058,8 +7049,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7139,8 +7129,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7229,8 +7218,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7292,11 +7280,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7480,8 +7468,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7677,8 +7664,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7768,8 +7754,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7859,8 +7844,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9952,8 +9936,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11023,8 +11006,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11114,8 +11096,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11214,8 +11195,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11452,8 +11432,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11656,8 +11635,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11757,8 +11735,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11858,8 +11835,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/fpt-2026-03-10/pages.json b/src/rest/data/fpt-2026-03-10/pages.json index 88b7eb4d2181..fb08afc988c9 100644 --- a/src/rest/data/fpt-2026-03-10/pages.json +++ b/src/rest/data/fpt-2026-03-10/pages.json @@ -1831,16 +1831,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1943,16 +1934,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/fpt-2026-03-10/projects.json b/src/rest/data/fpt-2026-03-10/projects.json index fe1b2c45eea8..4f317b8f54df 100644 --- a/src/rest/data/fpt-2026-03-10/projects.json +++ b/src/rest/data/fpt-2026-03-10/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -38499,20 +38473,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -70451,20 +70386,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -46243,8 +46218,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -48811,16 +48785,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -48967,16 +48932,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -49047,16 +49003,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -49189,16 +49136,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -49269,16 +49207,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghec-2022-11-28/activity.json b/src/rest/data/ghec-2022-11-28/activity.json index 545c1dcba9ad..15d5c98d9423 100644 --- a/src/rest/data/ghec-2022-11-28/activity.json +++ b/src/rest/data/ghec-2022-11-28/activity.json @@ -90081,8 +90081,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90091,8 +90090,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -92506,8 +92504,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -92516,8 +92513,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -94209,11 +94205,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -94223,11 +94219,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -96198,11 +96194,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -96212,11 +96208,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/agent-tasks.json b/src/rest/data/ghec-2022-11-28/agent-tasks.json index 275cc3f86861..46ae8ff27e3a 100644 --- a/src/rest/data/ghec-2022-11-28/agent-tasks.json +++ b/src/rest/data/ghec-2022-11-28/agent-tasks.json @@ -31,9 +31,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -42,8 +40,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -94,8 +91,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" }, @@ -1194,9 +1190,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -1205,8 +1199,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -1257,8 +1250,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" } diff --git a/src/rest/data/ghec-2022-11-28/apps.json b/src/rest/data/ghec-2022-11-28/apps.json index c05b1dd6448f..bf2661faadb0 100644 --- a/src/rest/data/ghec-2022-11-28/apps.json +++ b/src/rest/data/ghec-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12096,8 +12095,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12135,8 +12133,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -13209,8 +13206,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -14121,8 +14117,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14814,11 +14809,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -15736,11 +15731,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/billing.json b/src/rest/data/ghec-2022-11-28/billing.json index e5ec4cf73e5c..0d15c9c07f5c 100644 --- a/src/rest/data/ghec-2022-11-28/billing.json +++ b/src/rest/data/ghec-2022-11-28/billing.json @@ -3353,8 +3353,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/campaigns.json b/src/rest/data/ghec-2022-11-28/campaigns.json index 50c882aef47c..ba0166d20ada 100644 --- a/src/rest/data/ghec-2022-11-28/campaigns.json +++ b/src/rest/data/ghec-2022-11-28/campaigns.json @@ -42,11 +42,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -55,8 +55,6 @@ "in": "query", "required": false, "schema": { - "title": "Campaign state", - "description": "Indicates whether a campaign is open or closed", "type": "string", "enum": [ "open", @@ -71,13 +69,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "ends_at", "published" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/ghec-2022-11-28/checks.json b/src/rest/data/ghec-2022-11-28/checks.json index 2214eff4dfce..f59dfce38cd1 100644 --- a/src/rest/data/ghec-2022-11-28/checks.json +++ b/src/rest/data/ghec-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/code-scanning.json b/src/rest/data/ghec-2022-11-28/code-scanning.json index 13712b6cfd5b..d66313e1fb27 100644 --- a/src/rest/data/ghec-2022-11-28/code-scanning.json +++ b/src/rest/data/ghec-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -6365,11 +6333,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6379,10 +6347,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -13194,13 +13162,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -13210,14 +13178,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -13628,13 +13596,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -13644,14 +13612,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/code-security.json b/src/rest/data/ghec-2022-11-28/code-security.json index 0a3480e5a2f5..66d41f255715 100644 --- a/src/rest/data/ghec-2022-11-28/code-security.json +++ b/src/rest/data/ghec-2022-11-28/code-security.json @@ -3867,11 +3867,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/codespaces.json b/src/rest/data/ghec-2022-11-28/codespaces.json index 3e581e26236f..11177e125df9 100644 --- a/src/rest/data/ghec-2022-11-28/codespaces.json +++ b/src/rest/data/ghec-2022-11-28/codespaces.json @@ -4819,10 +4819,7 @@ "description": "The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } }, { @@ -4830,10 +4827,7 @@ "description": "An alternative IP for default location auto-detection, such as when proxying a request.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "1.2.3.4" - ] + "type": "string" } } ], @@ -5078,10 +5072,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - "master" - ] + "type": "string" } }, { @@ -5090,10 +5081,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - ".devcontainer/example/devcontainer.json" - ] + "type": "string" } } ], @@ -23392,10 +23380,7 @@ "description": "The location to check for available machines. Assigned by IP if not provided.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "WestUs2" - ] + "type": "string" } }, { @@ -23411,10 +23396,7 @@ "description": "The branch or commit to check for prebuild availability and devcontainer restrictions.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/collaborators.json b/src/rest/data/ghec-2022-11-28/collaborators.json index a70154ec176a..d5e7273db9c4 100644 --- a/src/rest/data/ghec-2022-11-28/collaborators.json +++ b/src/rest/data/ghec-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -5715,8 +5715,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/commits.json b/src/rest/data/ghec-2022-11-28/commits.json index 515bc078c525..1546ea188240 100644 --- a/src/rest/data/ghec-2022-11-28/commits.json +++ b/src/rest/data/ghec-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghec-2022-11-28/copilot-spaces.json b/src/rest/data/ghec-2022-11-28/copilot-spaces.json index 509c6d7d83b2..49781df1d5d9 100644 --- a/src/rest/data/ghec-2022-11-28/copilot-spaces.json +++ b/src/rest/data/ghec-2022-11-28/copilot-spaces.json @@ -23,8 +23,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -2795,8 +2793,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/ghec-2022-11-28/copilot.json b/src/rest/data/ghec-2022-11-28/copilot.json index a57d71f0790b..b2ee2e36b9d8 100644 --- a/src/rest/data/ghec-2022-11-28/copilot.json +++ b/src/rest/data/ghec-2022-11-28/copilot.json @@ -2227,8 +2227,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2326,8 +2325,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2688,8 +2686,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2816,8 +2813,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2978,8 +2974,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3040,8 +3035,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5401,11 +5395,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5485,8 +5475,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5590,8 +5579,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5617,11 +5605,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5701,8 +5685,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5728,11 +5711,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5812,8 +5791,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5917,8 +5895,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5944,11 +5921,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -6162,11 +6135,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -6276,11 +6245,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/dependabot.json b/src/rest/data/ghec-2022-11-28/dependabot.json index fd27b35ce09f..6674554ab97a 100644 --- a/src/rest/data/ghec-2022-11-28/dependabot.json +++ b/src/rest/data/ghec-2022-11-28/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1775,22 +1775,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -8689,10 +8669,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "array" }, "description": "" } diff --git a/src/rest/data/ghec-2022-11-28/orgs.json b/src/rest/data/ghec-2022-11-28/orgs.json index fd4ffc1e7d11..f96598ce9874 100644 --- a/src/rest/data/ghec-2022-11-28/orgs.json +++ b/src/rest/data/ghec-2022-11-28/orgs.json @@ -4643,11 +4643,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4656,19 +4656,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "http_method", - "api_route", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -4826,11 +4814,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4839,18 +4827,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5769,11 +5746,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5782,18 +5759,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -6171,10 +6137,7 @@ "description": "The cluster name.
", "required": true, "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" + "type": "string" } } ], @@ -6636,10 +6599,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -6796,10 +6756,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -8263,13 +8220,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8279,6 +8236,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8288,8 +8246,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -14571,14 +14528,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "direct_member", "billing_manager", "hiring_manager" - ], - "default": "all" + ] } }, { @@ -14588,12 +14545,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "member", "scim" - ], - "default": "all" + ] } } ], @@ -15558,12 +15515,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -15573,12 +15530,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -21619,12 +21576,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -22038,10 +21995,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -22051,11 +22008,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22064,14 +22021,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -22080,10 +22030,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -22092,10 +22039,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -22104,8 +22048,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22114,8 +22057,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22124,14 +22066,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -22439,8 +22374,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -22544,8 +22478,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -22645,8 +22578,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -23587,8 +23519,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -23633,10 +23564,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -23646,11 +23577,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -23659,14 +23590,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -23675,10 +23599,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -23687,10 +23608,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -23699,8 +23617,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -23709,8 +23626,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -23719,14 +23635,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -24025,8 +23934,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -24124,8 +24032,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24218,8 +24125,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -25160,8 +25066,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -25206,13 +25111,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25229,13 +25134,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -25682,10 +25587,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/packages.json b/src/rest/data/ghec-2022-11-28/packages.json index ba0022e0cddb..7528b05067b9 100644 --- a/src/rest/data/ghec-2022-11-28/packages.json +++ b/src/rest/data/ghec-2022-11-28/packages.json @@ -2119,8 +2119,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3138,8 +3137,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3229,8 +3227,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3329,8 +3326,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3401,11 +3397,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3582,8 +3578,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3789,8 +3784,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3890,8 +3884,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3991,8 +3984,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6072,8 +6064,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7148,8 +7139,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7229,8 +7219,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7319,8 +7308,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7382,11 +7370,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7570,8 +7558,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7767,8 +7754,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7858,8 +7844,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7949,8 +7934,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10072,8 +10056,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11158,8 +11141,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11249,8 +11231,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11349,8 +11330,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11587,8 +11567,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11791,8 +11770,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11892,8 +11870,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11993,8 +11970,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghec-2022-11-28/pages.json b/src/rest/data/ghec-2022-11-28/pages.json index 879b2a198b41..70f9772abe17 100644 --- a/src/rest/data/ghec-2022-11-28/pages.json +++ b/src/rest/data/ghec-2022-11-28/pages.json @@ -1836,16 +1836,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1948,16 +1939,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghec-2022-11-28/projects.json b/src/rest/data/ghec-2022-11-28/projects.json index 63b0c9824420..4542ce6dc9e7 100644 --- a/src/rest/data/ghec-2022-11-28/projects.json +++ b/src/rest/data/ghec-2022-11-28/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -39651,20 +39625,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -72755,20 +72690,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -46088,8 +46063,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -48650,16 +48624,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -48806,16 +48771,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -48886,16 +48842,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -49019,16 +48966,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -49099,16 +49037,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghec-2026-03-10/activity.json b/src/rest/data/ghec-2026-03-10/activity.json index 31e45cb2d2d6..2cf745204031 100644 --- a/src/rest/data/ghec-2026-03-10/activity.json +++ b/src/rest/data/ghec-2026-03-10/activity.json @@ -87741,8 +87741,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -87751,8 +87750,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90160,8 +90158,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -90170,8 +90167,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -91860,11 +91856,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -91874,11 +91870,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -93817,11 +93813,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -93831,11 +93827,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/agent-tasks.json b/src/rest/data/ghec-2026-03-10/agent-tasks.json index 275cc3f86861..46ae8ff27e3a 100644 --- a/src/rest/data/ghec-2026-03-10/agent-tasks.json +++ b/src/rest/data/ghec-2026-03-10/agent-tasks.json @@ -31,9 +31,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -42,8 +40,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -94,8 +91,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" }, @@ -1194,9 +1190,7 @@ "in": "query", "schema": { "type": "integer", - "default": 30, - "minimum": 1, - "maximum": 100 + "default": 30 }, "description": "The number of results per page (max 100).
" }, @@ -1205,8 +1199,7 @@ "in": "query", "schema": { "type": "integer", - "default": 1, - "minimum": 1 + "default": 1 }, "description": "The page number of the results to fetch.
" }, @@ -1257,8 +1250,7 @@ "name": "since", "in": "query", "schema": { - "type": "string", - "format": "date-time" + "type": "string" }, "description": "Only show tasks updated at or after this time (ISO 8601 timestamp)
" } diff --git a/src/rest/data/ghec-2026-03-10/apps.json b/src/rest/data/ghec-2026-03-10/apps.json index 1fe332d9ec81..a3d23ecbb5b8 100644 --- a/src/rest/data/ghec-2026-03-10/apps.json +++ b/src/rest/data/ghec-2026-03-10/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12064,8 +12063,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12103,8 +12101,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -13177,8 +13174,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -14073,8 +14069,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14766,11 +14761,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -15688,11 +15683,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/billing.json b/src/rest/data/ghec-2026-03-10/billing.json index e5ec4cf73e5c..0d15c9c07f5c 100644 --- a/src/rest/data/ghec-2026-03-10/billing.json +++ b/src/rest/data/ghec-2026-03-10/billing.json @@ -3353,8 +3353,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/campaigns.json b/src/rest/data/ghec-2026-03-10/campaigns.json index 50c882aef47c..ba0166d20ada 100644 --- a/src/rest/data/ghec-2026-03-10/campaigns.json +++ b/src/rest/data/ghec-2026-03-10/campaigns.json @@ -42,11 +42,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -55,8 +55,6 @@ "in": "query", "required": false, "schema": { - "title": "Campaign state", - "description": "Indicates whether a campaign is open or closed", "type": "string", "enum": [ "open", @@ -71,13 +69,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "ends_at", "published" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/ghec-2026-03-10/checks.json b/src/rest/data/ghec-2026-03-10/checks.json index 94df3e667316..af5fa1c6b9a8 100644 --- a/src/rest/data/ghec-2026-03-10/checks.json +++ b/src/rest/data/ghec-2026-03-10/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/code-scanning.json b/src/rest/data/ghec-2026-03-10/code-scanning.json index 916dd309f65b..760bfc4e3cfc 100644 --- a/src/rest/data/ghec-2026-03-10/code-scanning.json +++ b/src/rest/data/ghec-2026-03-10/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -6365,11 +6333,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6379,10 +6347,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -13192,13 +13160,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -13208,14 +13176,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -13626,13 +13594,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -13642,14 +13610,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/code-security.json b/src/rest/data/ghec-2026-03-10/code-security.json index 0a3480e5a2f5..66d41f255715 100644 --- a/src/rest/data/ghec-2026-03-10/code-security.json +++ b/src/rest/data/ghec-2026-03-10/code-security.json @@ -3867,11 +3867,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/codespaces.json b/src/rest/data/ghec-2026-03-10/codespaces.json index 1e7e595b3187..a67a3ed45d6c 100644 --- a/src/rest/data/ghec-2026-03-10/codespaces.json +++ b/src/rest/data/ghec-2026-03-10/codespaces.json @@ -4810,10 +4810,7 @@ "description": "The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } }, { @@ -4821,10 +4818,7 @@ "description": "An alternative IP for default location auto-detection, such as when proxying a request.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "1.2.3.4" - ] + "type": "string" } } ], @@ -5069,10 +5063,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - "master" - ] + "type": "string" } }, { @@ -5081,10 +5072,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "examples": [ - ".devcontainer/example/devcontainer.json" - ] + "type": "string" } } ], @@ -23302,10 +23290,7 @@ "description": "The location to check for available machines. Assigned by IP if not provided.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "WestUs2" - ] + "type": "string" } }, { @@ -23321,10 +23306,7 @@ "description": "The branch or commit to check for prebuild availability and devcontainer restrictions.
", "in": "query", "schema": { - "type": "string", - "examples": [ - "main" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/collaborators.json b/src/rest/data/ghec-2026-03-10/collaborators.json index 4c9467245742..f72ae13affae 100644 --- a/src/rest/data/ghec-2026-03-10/collaborators.json +++ b/src/rest/data/ghec-2026-03-10/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -5707,8 +5707,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/commits.json b/src/rest/data/ghec-2026-03-10/commits.json index 66410da3657e..7791a7bcd7be 100644 --- a/src/rest/data/ghec-2026-03-10/commits.json +++ b/src/rest/data/ghec-2026-03-10/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7615,8 +7613,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -7979,8 +7976,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8353,8 +8349,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghec-2026-03-10/copilot-spaces.json b/src/rest/data/ghec-2026-03-10/copilot-spaces.json index 509c6d7d83b2..49781df1d5d9 100644 --- a/src/rest/data/ghec-2026-03-10/copilot-spaces.json +++ b/src/rest/data/ghec-2026-03-10/copilot-spaces.json @@ -23,8 +23,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -2795,8 +2793,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/ghec-2026-03-10/copilot.json b/src/rest/data/ghec-2026-03-10/copilot.json index ddb4b042d81c..117b43c437ba 100644 --- a/src/rest/data/ghec-2026-03-10/copilot.json +++ b/src/rest/data/ghec-2026-03-10/copilot.json @@ -2224,8 +2224,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2323,8 +2322,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2685,8 +2683,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2813,8 +2810,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2975,8 +2971,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3037,8 +3032,7 @@ { "\"Enterprise AI controls\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5398,11 +5392,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5482,8 +5472,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5587,8 +5576,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5614,11 +5602,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5698,8 +5682,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5725,11 +5708,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -5809,8 +5788,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5914,8 +5892,7 @@ { "\"Enterprise Copilot metrics\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5941,11 +5918,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -6159,11 +6132,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], @@ -6273,11 +6242,7 @@ "in": "query", "required": true, "schema": { - "type": "string", - "format": "date", - "examples": [ - "2025-10-13" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/dependabot.json b/src/rest/data/ghec-2026-03-10/dependabot.json index 2c3c9f1e5e49..1b56886eeda8 100644 --- a/src/rest/data/ghec-2026-03-10/dependabot.json +++ b/src/rest/data/ghec-2026-03-10/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1775,22 +1775,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -1697,17 +1687,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -6281,10 +6261,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string" - } + "type": "array" }, "description": "" } diff --git a/src/rest/data/ghec-2026-03-10/orgs.json b/src/rest/data/ghec-2026-03-10/orgs.json index b1138258cd32..629937b02ef6 100644 --- a/src/rest/data/ghec-2026-03-10/orgs.json +++ b/src/rest/data/ghec-2026-03-10/orgs.json @@ -4629,11 +4629,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4642,19 +4642,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "http_method", - "api_route", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -4812,11 +4800,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4825,18 +4813,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -5755,11 +5732,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5768,18 +5745,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "last_rate_limited_timestamp", - "last_request_timestamp", - "rate_limited_request_count", - "subject_name", - "total_request_count" - ], - "default": "total_request_count" - } + "type": "array" } }, { @@ -6157,10 +6123,7 @@ "description": "The cluster name.
", "required": true, "schema": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "pattern": "^[a-zA-Z0-9._-]+$" + "type": "string" } } ], @@ -6622,10 +6585,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -6782,10 +6742,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "minLength": 71, - "maxLength": 71, - "pattern": "^sha256:[a-f0-9]{64}$" + "type": "string" } } ], @@ -8208,13 +8165,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8224,6 +8181,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8233,8 +8191,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -14297,14 +14254,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "direct_member", "billing_manager", "hiring_manager" - ], - "default": "all" + ] } }, { @@ -14314,12 +14271,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "member", "scim" - ], - "default": "all" + ] } } ], @@ -15284,12 +15241,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -15299,12 +15256,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -21353,12 +21310,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -21772,10 +21729,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -21785,11 +21742,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21798,14 +21755,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -21814,10 +21764,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -21826,10 +21773,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -21838,8 +21782,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -21848,8 +21791,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -21858,14 +21800,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -22173,8 +22108,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -22278,8 +22212,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -22379,8 +22312,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -23318,8 +23250,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -23364,10 +23295,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -23377,11 +23308,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -23390,14 +23321,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -23406,10 +23330,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -23418,10 +23339,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -23430,8 +23348,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -23440,8 +23357,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -23450,14 +23366,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -23756,8 +23665,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -23855,8 +23763,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -23949,8 +23856,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24888,8 +24794,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -24934,13 +24839,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -24957,13 +24862,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -25410,10 +25315,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/packages.json b/src/rest/data/ghec-2026-03-10/packages.json index 408f2b8a1c01..8188e84cc85f 100644 --- a/src/rest/data/ghec-2026-03-10/packages.json +++ b/src/rest/data/ghec-2026-03-10/packages.json @@ -2113,8 +2113,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3129,8 +3128,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3220,8 +3218,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3320,8 +3317,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3392,11 +3388,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3573,8 +3569,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3780,8 +3775,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3881,8 +3875,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3982,8 +3975,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6057,8 +6049,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7130,8 +7121,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7211,8 +7201,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7301,8 +7290,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7364,11 +7352,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7552,8 +7540,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7749,8 +7736,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7840,8 +7826,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7931,8 +7916,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10048,8 +10032,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11131,8 +11114,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11222,8 +11204,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11322,8 +11303,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11560,8 +11540,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11764,8 +11743,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11865,8 +11843,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11966,8 +11943,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghec-2026-03-10/pages.json b/src/rest/data/ghec-2026-03-10/pages.json index 879b2a198b41..70f9772abe17 100644 --- a/src/rest/data/ghec-2026-03-10/pages.json +++ b/src/rest/data/ghec-2026-03-10/pages.json @@ -1836,16 +1836,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1948,16 +1939,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghec-2026-03-10/projects.json b/src/rest/data/ghec-2026-03-10/projects.json index ce6e90cfdec0..1fb7bb04451d 100644 --- a/src/rest/data/ghec-2026-03-10/projects.json +++ b/src/rest/data/ghec-2026-03-10/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -38499,20 +38473,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -70451,20 +70386,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -34553,8 +34540,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -36913,16 +36899,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37069,16 +37046,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37149,16 +37117,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -37249,16 +37208,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.16-2022-11-28/activity.json b/src/rest/data/ghes-3.16-2022-11-28/activity.json index fa27a4d8e812..de13f310b34d 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.16-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167927,8 +167925,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167937,8 +167934,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169526,11 +169522,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169540,11 +169536,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171515,11 +171511,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171529,11 +171525,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/apps.json b/src/rest/data/ghes-3.16-2022-11-28/apps.json index b332bbcfcc49..3bfc1cb0698e 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.16-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10880,8 +10879,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -10919,8 +10917,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11968,8 +11965,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -12880,8 +12876,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/checks.json b/src/rest/data/ghes-3.16-2022-11-28/checks.json index 9629e19c0034..fa2dad61f936 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.16-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json index ac9cb51cfa38..7d6eab6e6e18 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.16-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5909,11 +5883,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5923,10 +5897,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/code-security.json b/src/rest/data/ghes-3.16-2022-11-28/code-security.json index 56f9db3e5a89..5d4e5a939269 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.16-2022-11-28/code-security.json @@ -2969,11 +2969,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/collaborators.json b/src/rest/data/ghes-3.16-2022-11-28/collaborators.json index 43a2001bac67..e25d7bfe5065 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.16-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4270,8 +4270,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/commits.json b/src/rest/data/ghes-3.16-2022-11-28/commits.json index 652e6f36cba7..cb26d78f162d 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.16-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7727,8 +7725,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8091,8 +8088,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8465,8 +8461,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/dependabot.json b/src/rest/data/ghes-3.16-2022-11-28/dependabot.json index 7d2466cc1bbe..7c2c95f7efef 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.16-2022-11-28/dependabot.json @@ -61,22 +61,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/orgs.json b/src/rest/data/ghes-3.16-2022-11-28/orgs.json index 54ecf8a05d5d..c8ad62e5791e 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.16-2022-11-28/orgs.json @@ -5961,12 +5961,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -5976,12 +5976,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -11204,12 +11204,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -11623,10 +11623,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -11636,11 +11636,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -11649,14 +11649,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -11665,10 +11658,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -11677,10 +11667,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -11689,8 +11676,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11699,8 +11685,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11709,14 +11694,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -12024,8 +12002,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12129,8 +12106,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12230,8 +12206,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13065,8 +13040,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13111,10 +13085,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13124,11 +13098,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13137,14 +13111,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13153,10 +13120,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13165,10 +13129,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13177,8 +13138,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13187,8 +13147,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13197,14 +13156,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13503,8 +13455,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13602,8 +13553,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13696,8 +13646,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14531,8 +14480,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -14577,13 +14525,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -14600,13 +14548,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -15053,10 +15001,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/packages.json b/src/rest/data/ghes-3.16-2022-11-28/packages.json index 28096fbe9591..4ce3d29ffd91 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.16-2022-11-28/packages.json @@ -1911,8 +1911,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2826,8 +2825,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2917,8 +2915,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3017,8 +3014,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3089,11 +3085,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3270,8 +3266,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3477,8 +3472,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3578,8 +3572,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3679,8 +3672,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5552,8 +5544,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6524,8 +6515,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6605,8 +6595,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6695,8 +6684,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6758,11 +6746,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -6946,8 +6934,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7143,8 +7130,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7234,8 +7220,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7325,8 +7310,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9240,8 +9224,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10222,8 +10205,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10313,8 +10295,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10413,8 +10394,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10651,8 +10631,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10855,8 +10834,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10956,8 +10934,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11057,8 +11034,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.16-2022-11-28/pages.json b/src/rest/data/ghes-3.16-2022-11-28/pages.json index e7b594d2d5c5..72eebfc18b08 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.16-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.16-2022-11-28/projects-classic.json b/src/rest/data/ghes-3.16-2022-11-28/projects-classic.json index 12d41b0da4a3..60775435d7a6 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/projects-classic.json +++ b/src/rest/data/ghes-3.16-2022-11-28/projects-classic.json @@ -741,12 +741,12 @@ "required": false, "schema": { "type": "string", + "default": "not_archived", "enum": [ "all", "archived", "not_archived" - ], - "default": "not_archived" + ] } }, { @@ -1356,12 +1356,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -2625,12 +2625,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3972,12 +3972,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -4938,12 +4938,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/pulls.json b/src/rest/data/ghes-3.16-2022-11-28/pulls.json index 27c256e0510d..d052195d1782 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.16-2022-11-28/pulls.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66,13 +66,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "popularity", "long-running" - ], - "default": "created" + ] } }, { @@ -15947,8 +15947,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -16483,8 +16482,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17001,8 +16999,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17525,8 +17522,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17613,11 +17609,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -17639,8 +17635,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18782,8 +18777,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/reactions.json b/src/rest/data/ghes-3.16-2022-11-28/reactions.json index 7961c773260b..7cb613534fa3 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.16-2022-11-28/reactions.json @@ -32,8 +32,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -336,8 +335,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -824,8 +822,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -908,8 +905,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -1212,8 +1208,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -1700,8 +1695,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2661,8 +2655,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2965,8 +2958,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -3453,8 +3445,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/repos.json b/src/rest/data/ghes-3.16-2022-11-28/repos.json index e6cf08ea566c..f64766478f2b 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.16-2022-11-28/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -11784,11 +11784,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14510,8 +14510,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18235,9 +18234,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -18990,12 +18986,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19015,14 +19011,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19032,13 +19028,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19078,8 +19074,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19088,8 +19083,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -23589,12 +23583,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -23604,13 +23598,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -28962,13 +28956,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -33439,13 +33433,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -33462,13 +33456,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -35296,10 +35290,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/search.json b/src/rest/data/ghes-3.16-2022-11-28/search.json index dcfdca9a5dd8..20df93324cba 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/search.json +++ b/src/rest/data/ghes-3.16-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -965,11 +965,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2190,11 +2190,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -7981,11 +7981,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8227,11 +8227,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9435,11 +9435,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.16-2022-11-28/secret-scanning.json index 4bcd085b0537..09826ed66673 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.16-2022-11-28/secret-scanning.json @@ -55,11 +55,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -69,11 +69,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1341,11 +1341,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1355,11 +1355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -2649,11 +2649,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -2663,11 +2663,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3427,9 +3427,7 @@ "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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -34661,8 +34648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37045,16 +37031,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37201,16 +37178,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37281,16 +37249,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -37381,16 +37340,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.17-2022-11-28/activity.json b/src/rest/data/ghes-3.17-2022-11-28/activity.json index 65273a01f758..93c6f0cadc4d 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.17-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167951,8 +167949,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167961,8 +167958,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169562,11 +169558,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169576,11 +169572,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171551,11 +171547,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171565,11 +171561,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/apps.json b/src/rest/data/ghes-3.17-2022-11-28/apps.json index e829336381b7..9b5b04e5c5df 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.17-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10880,8 +10879,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -10919,8 +10917,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11968,8 +11965,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -12880,8 +12876,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/checks.json b/src/rest/data/ghes-3.17-2022-11-28/checks.json index e561fd641d63..af6e1d2c9af4 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.17-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json index b354cb1b85c6..d5639221eeb1 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.17-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5909,11 +5883,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5923,10 +5897,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/code-security.json b/src/rest/data/ghes-3.17-2022-11-28/code-security.json index c1bca965a628..b04cb5bcc0a3 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.17-2022-11-28/code-security.json @@ -3219,11 +3219,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/collaborators.json b/src/rest/data/ghes-3.17-2022-11-28/collaborators.json index 1e1ad60eea9d..e7591005ba2e 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.17-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4306,8 +4306,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/commits.json b/src/rest/data/ghes-3.17-2022-11-28/commits.json index 83b1ca40fcf0..e06c806d9fa5 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.17-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/dependabot.json b/src/rest/data/ghes-3.17-2022-11-28/dependabot.json index 92e4e478ff70..3f978a643bcc 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.17-2022-11-28/dependabot.json @@ -61,22 +61,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/orgs.json b/src/rest/data/ghes-3.17-2022-11-28/orgs.json index 227ba60a9478..e7a914ddab4a 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.17-2022-11-28/orgs.json @@ -3175,13 +3175,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -3191,6 +3191,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -3200,8 +3201,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -6396,12 +6396,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -6411,12 +6411,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -11639,12 +11639,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -12058,10 +12058,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -12071,11 +12071,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -12084,14 +12084,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -12100,10 +12093,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -12112,10 +12102,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -12124,8 +12111,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12134,8 +12120,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12144,14 +12129,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -12459,8 +12437,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12564,8 +12541,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12665,8 +12641,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13512,8 +13487,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13558,10 +13532,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13571,11 +13545,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13584,14 +13558,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13600,10 +13567,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13612,10 +13576,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13624,8 +13585,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13634,8 +13594,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13644,14 +13603,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13950,8 +13902,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14049,8 +14000,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14143,8 +14093,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14990,8 +14939,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -15036,13 +14984,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -15059,13 +15007,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -15512,10 +15460,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/packages.json b/src/rest/data/ghes-3.17-2022-11-28/packages.json index f2cbd62d1710..8765ec1fc967 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.17-2022-11-28/packages.json @@ -1935,8 +1935,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2862,8 +2861,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2953,8 +2951,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3053,8 +3050,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3125,11 +3121,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3306,8 +3302,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3513,8 +3508,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3614,8 +3608,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3715,8 +3708,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5612,8 +5604,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6596,8 +6587,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6677,8 +6667,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6767,8 +6756,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6830,11 +6818,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7018,8 +7006,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7215,8 +7202,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7306,8 +7292,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7397,8 +7382,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9336,8 +9320,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10330,8 +10313,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10421,8 +10403,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10521,8 +10502,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10759,8 +10739,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10963,8 +10942,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11064,8 +11042,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11165,8 +11142,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.17-2022-11-28/pages.json b/src/rest/data/ghes-3.17-2022-11-28/pages.json index a922018be86a..fc4dc2039da1 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.17-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.17-2022-11-28/pulls.json b/src/rest/data/ghes-3.17-2022-11-28/pulls.json index cdebc41638ef..aaace00b0b2f 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.17-2022-11-28/pulls.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66,13 +66,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "popularity", "long-running" - ], - "default": "created" + ] } }, { @@ -15955,8 +15955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -16491,8 +16490,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17009,8 +17007,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17533,8 +17530,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17621,11 +17617,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -17647,8 +17643,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18790,8 +18785,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/reactions.json b/src/rest/data/ghes-3.17-2022-11-28/reactions.json index 55c6fb98aecf..cd68ca11e3e8 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.17-2022-11-28/reactions.json @@ -32,8 +32,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -336,8 +335,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -824,8 +822,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -908,8 +905,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -1212,8 +1208,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -1700,8 +1695,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2661,8 +2655,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2965,8 +2958,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -3453,8 +3445,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/repos.json b/src/rest/data/ghes-3.17-2022-11-28/repos.json index b77671c636a9..9db83cf9ff6c 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.17-2022-11-28/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -11844,11 +11844,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14582,8 +14582,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18319,9 +18318,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19086,12 +19082,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19111,14 +19107,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19128,13 +19124,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19174,8 +19170,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19184,8 +19179,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -23697,12 +23691,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -23712,13 +23706,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25037,13 +25031,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25053,6 +25047,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25062,8 +25057,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -29871,13 +29865,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34372,13 +34366,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34395,13 +34389,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -36467,10 +36461,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/search.json b/src/rest/data/ghes-3.17-2022-11-28/search.json index 83d48cc10128..c179e04060ca 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/search.json +++ b/src/rest/data/ghes-3.17-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -977,11 +977,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2221,11 +2221,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8012,11 +8012,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8258,11 +8258,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9466,11 +9466,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.17-2022-11-28/secret-scanning.json index 242f417fd119..b4cc50b315db 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.17-2022-11-28/secret-scanning.json @@ -55,11 +55,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -69,11 +69,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1348,11 +1348,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1362,11 +1362,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -2663,11 +2663,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -2677,11 +2677,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3448,9 +3448,7 @@ "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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -34706,8 +34693,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37100,16 +37086,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37256,16 +37233,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -37336,16 +37304,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -37436,16 +37395,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.18-2022-11-28/activity.json b/src/rest/data/ghes-3.18-2022-11-28/activity.json index 65d022797ff3..973d2b8ac6b2 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.18-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167961,8 +167959,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167971,8 +167968,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169577,11 +169573,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169591,11 +169587,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171566,11 +171562,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171580,11 +171576,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/apps.json b/src/rest/data/ghes-3.18-2022-11-28/apps.json index 391cbd527a5d..adf6cead126c 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.18-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10880,8 +10879,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -10919,8 +10917,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11968,8 +11965,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -12880,8 +12876,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/checks.json b/src/rest/data/ghes-3.18-2022-11-28/checks.json index 0237e1050e8a..4cff9483bc15 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.18-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json index 64732d499051..3b9089122db3 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.18-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5909,11 +5883,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5923,10 +5897,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/code-security.json b/src/rest/data/ghes-3.18-2022-11-28/code-security.json index 4028491cb548..8ec33959074a 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.18-2022-11-28/code-security.json @@ -3219,11 +3219,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/collaborators.json b/src/rest/data/ghes-3.18-2022-11-28/collaborators.json index a255356aebc7..72e812bf6ce9 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.18-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4321,8 +4321,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/commits.json b/src/rest/data/ghes-3.18-2022-11-28/commits.json index cba70fafd94f..a1704b172112 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.18-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/dependabot.json b/src/rest/data/ghes-3.18-2022-11-28/dependabot.json index dcbdf6d3ddd2..897e5e2732d8 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.18-2022-11-28/dependabot.json @@ -61,22 +61,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/orgs.json b/src/rest/data/ghes-3.18-2022-11-28/orgs.json index 3516fc14bf9a..a4425a1873bf 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.18-2022-11-28/orgs.json @@ -3175,13 +3175,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -3191,6 +3191,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -3200,8 +3201,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -6396,12 +6396,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -6411,12 +6411,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -11639,12 +11639,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -12058,10 +12058,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -12071,11 +12071,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -12084,14 +12084,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -12100,10 +12093,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -12112,10 +12102,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -12124,8 +12111,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12134,8 +12120,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12144,14 +12129,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -12459,8 +12437,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12564,8 +12541,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12665,8 +12641,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13517,8 +13492,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13563,10 +13537,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13576,11 +13550,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13589,14 +13563,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13605,10 +13572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13617,10 +13581,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13629,8 +13590,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13639,8 +13599,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13649,14 +13608,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13955,8 +13907,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14054,8 +14005,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14148,8 +14098,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15000,8 +14949,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -15046,13 +14994,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -15069,13 +15017,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -15522,10 +15470,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/packages.json b/src/rest/data/ghes-3.18-2022-11-28/packages.json index 7c586f5e7052..294a8cf3d6b7 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.18-2022-11-28/packages.json @@ -1945,8 +1945,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2877,8 +2876,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2968,8 +2966,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3068,8 +3065,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3140,11 +3136,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3321,8 +3317,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3528,8 +3523,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3629,8 +3623,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3730,8 +3723,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5637,8 +5629,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6626,8 +6617,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6707,8 +6697,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6797,8 +6786,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6860,11 +6848,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7048,8 +7036,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7245,8 +7232,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7336,8 +7322,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7427,8 +7412,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9376,8 +9360,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10375,8 +10358,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10466,8 +10448,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10566,8 +10547,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10804,8 +10784,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11008,8 +10987,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11109,8 +11087,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11210,8 +11187,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.18-2022-11-28/pages.json b/src/rest/data/ghes-3.18-2022-11-28/pages.json index a40b46d6270a..67c9dc51e556 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.18-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.18-2022-11-28/pulls.json b/src/rest/data/ghes-3.18-2022-11-28/pulls.json index e148a563c9dc..2a22e73c7491 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.18-2022-11-28/pulls.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66,13 +66,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "popularity", "long-running" - ], - "default": "created" + ] } }, { @@ -15955,8 +15955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -16491,8 +16490,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17009,8 +17007,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17533,8 +17530,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17621,11 +17617,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -17647,8 +17643,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18790,8 +18785,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/reactions.json b/src/rest/data/ghes-3.18-2022-11-28/reactions.json index d71dd21bccfb..5ea94d89f686 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.18-2022-11-28/reactions.json @@ -32,8 +32,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -336,8 +335,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -824,8 +822,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -908,8 +905,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -1212,8 +1208,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -1700,8 +1695,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2661,8 +2655,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2965,8 +2958,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -3453,8 +3445,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/repos.json b/src/rest/data/ghes-3.18-2022-11-28/repos.json index da024489cbad..cb387a5608b0 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.18-2022-11-28/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -11849,11 +11849,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14592,8 +14592,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18329,9 +18328,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19101,12 +19097,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19126,14 +19122,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19143,13 +19139,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19189,8 +19185,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19199,8 +19194,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -23712,12 +23706,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -23727,13 +23721,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25057,13 +25051,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25073,6 +25067,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25082,8 +25077,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -29891,13 +29885,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34397,13 +34391,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34420,13 +34414,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -36492,10 +36486,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/search.json b/src/rest/data/ghes-3.18-2022-11-28/search.json index f31b5a107557..61cf20cced47 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/search.json +++ b/src/rest/data/ghes-3.18-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -982,11 +982,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2231,11 +2231,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8022,11 +8022,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8268,11 +8268,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9476,11 +9476,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.18-2022-11-28/secret-scanning.json index 566912dccf99..6be407de5f0e 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.18-2022-11-28/secret-scanning.json @@ -55,11 +55,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -69,11 +69,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1288,11 +1288,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1302,11 +1302,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -2543,11 +2543,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -2557,11 +2557,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3335,9 +3335,7 @@ "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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -37709,8 +37696,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -40103,16 +40089,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40259,16 +40236,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40339,16 +40307,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -40439,16 +40398,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.19-2022-11-28/activity.json b/src/rest/data/ghes-3.19-2022-11-28/activity.json index 7a79ec14fa38..f926f8e0c4f9 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.19-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167961,8 +167959,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167971,8 +167968,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169577,11 +169573,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169591,11 +169587,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171566,11 +171562,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171580,11 +171576,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/apps.json b/src/rest/data/ghes-3.19-2022-11-28/apps.json index 25780928c970..8248dece3ba5 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.19-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11028,8 +11027,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11067,8 +11065,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12132,8 +12129,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -13044,8 +13040,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/checks.json b/src/rest/data/ghes-3.19-2022-11-28/checks.json index a9ae728621c0..d6cb08a9010e 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.19-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json index 5e7c27f9b130..456ba0f3c97c 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.19-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5915,11 +5889,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5929,10 +5903,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -7200,13 +7174,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7216,14 +7190,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -7634,13 +7608,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7650,14 +7624,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-security.json b/src/rest/data/ghes-3.19-2022-11-28/code-security.json index ffb0b3d09e94..985f38da3ae1 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.19-2022-11-28/code-security.json @@ -3375,11 +3375,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/collaborators.json b/src/rest/data/ghes-3.19-2022-11-28/collaborators.json index 7cafad65616c..3a7236229ab8 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.19-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4321,8 +4321,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/commits.json b/src/rest/data/ghes-3.19-2022-11-28/commits.json index f0c9a9b5fe46..25734c7fd121 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.19-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/dependabot.json b/src/rest/data/ghes-3.19-2022-11-28/dependabot.json index f25d783e037c..6a3779ee698f 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.19-2022-11-28/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1346,22 +1346,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/orgs.json b/src/rest/data/ghes-3.19-2022-11-28/orgs.json index 9308ff226a46..11a1070671bf 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.19-2022-11-28/orgs.json @@ -3191,13 +3191,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -3207,6 +3207,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -3216,8 +3217,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -6412,12 +6412,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -6427,12 +6427,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -11655,12 +11655,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -12074,10 +12074,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -12087,11 +12087,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -12100,14 +12100,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -12116,10 +12109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -12128,10 +12118,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -12140,8 +12127,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12150,8 +12136,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12160,14 +12145,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -12475,8 +12453,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12580,8 +12557,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12681,8 +12657,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13533,8 +13508,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13579,10 +13553,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13592,11 +13566,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13605,14 +13579,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13621,10 +13588,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13633,10 +13597,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13645,8 +13606,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13655,8 +13615,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13665,14 +13624,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13971,8 +13923,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14070,8 +14021,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14164,8 +14114,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15016,8 +14965,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -15062,13 +15010,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -15085,13 +15033,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -15538,10 +15486,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/packages.json b/src/rest/data/ghes-3.19-2022-11-28/packages.json index 9339c89a7cd6..cb10d4de98fb 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.19-2022-11-28/packages.json @@ -1945,8 +1945,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2877,8 +2876,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2968,8 +2966,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3068,8 +3065,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3140,11 +3136,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3321,8 +3317,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3528,8 +3523,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3629,8 +3623,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3730,8 +3723,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5637,8 +5629,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6626,8 +6617,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6707,8 +6697,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6797,8 +6786,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6860,11 +6848,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7048,8 +7036,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7245,8 +7232,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7336,8 +7322,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7427,8 +7412,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9376,8 +9360,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10375,8 +10358,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10466,8 +10448,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10566,8 +10547,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10804,8 +10784,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11008,8 +10987,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11109,8 +11087,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11210,8 +11187,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.19-2022-11-28/pages.json b/src/rest/data/ghes-3.19-2022-11-28/pages.json index e1186f06d463..5b7f0ad4e63c 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.19-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.19-2022-11-28/pulls.json b/src/rest/data/ghes-3.19-2022-11-28/pulls.json index ad78a41450aa..b15ea4fe8bb3 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.19-2022-11-28/pulls.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66,13 +66,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "popularity", "long-running" - ], - "default": "created" + ] } }, { @@ -15955,8 +15955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -16491,8 +16490,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17009,8 +17007,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17533,8 +17530,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -17621,11 +17617,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -17647,8 +17643,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18790,8 +18785,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/reactions.json b/src/rest/data/ghes-3.19-2022-11-28/reactions.json index ed92bcf51596..2250c5927edc 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.19-2022-11-28/reactions.json @@ -32,8 +32,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -336,8 +335,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -824,8 +822,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -908,8 +905,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -1212,8 +1208,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -1700,8 +1695,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2661,8 +2655,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { @@ -2965,8 +2958,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -3453,8 +3445,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/repos.json b/src/rest/data/ghes-3.19-2022-11-28/repos.json index 6c2df0cdade7..73670a77aec5 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.19-2022-11-28/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -11849,11 +11849,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14592,8 +14592,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18329,9 +18328,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19101,12 +19097,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19126,14 +19122,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19143,13 +19139,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19189,8 +19185,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19199,8 +19194,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -23712,12 +23706,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -23727,13 +23721,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25057,13 +25051,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25073,6 +25067,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25082,8 +25077,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -29891,13 +29885,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34397,13 +34391,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34420,13 +34414,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -36492,10 +36486,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/search.json b/src/rest/data/ghes-3.19-2022-11-28/search.json index b7826b197844..2ac8bcb53c3a 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/search.json +++ b/src/rest/data/ghes-3.19-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -982,11 +982,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2231,11 +2231,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8022,11 +8022,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8268,11 +8268,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9476,11 +9476,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.19-2022-11-28/secret-scanning.json index 45d693795520..7c83cb09059b 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.19-2022-11-28/secret-scanning.json @@ -55,11 +55,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -69,11 +69,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1693,11 +1693,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1707,11 +1707,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3353,11 +3353,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3367,11 +3367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4550,9 +4550,7 @@ "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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -37709,8 +37696,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -40103,16 +40089,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40259,16 +40236,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40339,16 +40307,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -40439,16 +40398,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.20-2022-11-28/activity.json b/src/rest/data/ghes-3.20-2022-11-28/activity.json index 01dcc267e190..623a0e30c76f 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.20-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167961,8 +167959,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -167971,8 +167968,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169577,11 +169573,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169591,11 +169587,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171566,11 +171562,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171580,11 +171576,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/apps.json b/src/rest/data/ghes-3.20-2022-11-28/apps.json index 02e5092fe03f..bc8da908de1f 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.20-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11185,8 +11184,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -11224,8 +11222,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12306,8 +12303,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -13218,8 +13214,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/checks.json b/src/rest/data/ghes-3.20-2022-11-28/checks.json index e926d8da0e65..52b86d353bd8 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.20-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json index be1b0f82728e..743bcfb6f738 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.20-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5914,11 +5888,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5928,10 +5902,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -7199,13 +7173,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7215,14 +7189,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -7633,13 +7607,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7649,14 +7623,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-security.json b/src/rest/data/ghes-3.20-2022-11-28/code-security.json index 5019ca365abb..e373c04e22a9 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.20-2022-11-28/code-security.json @@ -3375,11 +3375,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/collaborators.json b/src/rest/data/ghes-3.20-2022-11-28/collaborators.json index ae267c105eb2..5b24afd7c6b9 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.20-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4321,8 +4321,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/commits.json b/src/rest/data/ghes-3.20-2022-11-28/commits.json index a9c33b766d8e..e5c6b2560c55 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.20-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/dependabot.json b/src/rest/data/ghes-3.20-2022-11-28/dependabot.json index 4933ea6f1ce7..dabcf92ae064 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.20-2022-11-28/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1767,22 +1767,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/orgs.json b/src/rest/data/ghes-3.20-2022-11-28/orgs.json index 2c92e6362f50..af8d9de8edf8 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.20-2022-11-28/orgs.json @@ -4352,13 +4352,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -4368,6 +4368,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -4377,8 +4378,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -7579,12 +7579,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -7594,12 +7594,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -12849,12 +12849,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -13268,10 +13268,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13281,11 +13281,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13294,14 +13294,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13310,10 +13303,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13322,10 +13312,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13334,8 +13321,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13344,8 +13330,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13354,14 +13339,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13669,8 +13647,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13774,8 +13751,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13875,8 +13851,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14727,8 +14702,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14773,10 +14747,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -14786,11 +14760,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14799,14 +14773,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -14815,10 +14782,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -14827,10 +14791,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -14839,8 +14800,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -14849,8 +14809,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -14859,14 +14818,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -15165,8 +15117,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15264,8 +15215,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15358,8 +15308,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16210,8 +16159,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -16256,13 +16204,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -16279,13 +16227,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -16732,10 +16680,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/packages.json b/src/rest/data/ghes-3.20-2022-11-28/packages.json index edcfb670558f..9cb69dd1d2e6 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.20-2022-11-28/packages.json @@ -1945,8 +1945,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2877,8 +2876,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -2968,8 +2966,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3068,8 +3065,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3140,11 +3136,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3321,8 +3317,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3528,8 +3523,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3629,8 +3623,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3730,8 +3723,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5637,8 +5629,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6626,8 +6617,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6707,8 +6697,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6797,8 +6786,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6860,11 +6848,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7048,8 +7036,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7245,8 +7232,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7336,8 +7322,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7427,8 +7412,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9376,8 +9360,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10375,8 +10358,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10466,8 +10448,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10566,8 +10547,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10804,8 +10784,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11008,8 +10987,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11109,8 +11087,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11210,8 +11187,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.20-2022-11-28/pages.json b/src/rest/data/ghes-3.20-2022-11-28/pages.json index b8f0113d8653..474d6a6ec205 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.20-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.20-2022-11-28/projects.json b/src/rest/data/ghes-3.20-2022-11-28/projects.json index 1a218d13ef0d..91451a26744a 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/projects.json +++ b/src/rest/data/ghes-3.20-2022-11-28/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -39651,20 +39625,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -72755,20 +72690,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -38195,8 +38182,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -40697,16 +40683,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40853,16 +40830,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40933,16 +40901,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -41075,16 +41034,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.21-2022-11-28/activity.json b/src/rest/data/ghes-3.21-2022-11-28/activity.json index 93080faa1047..8f8463afc747 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/activity.json +++ b/src/rest/data/ghes-3.21-2022-11-28/activity.json @@ -165710,8 +165710,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -165720,8 +165719,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -168069,8 +168067,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -168079,8 +168076,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -169739,11 +169735,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -169753,11 +169749,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -171728,11 +171724,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -171742,11 +171738,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/apps.json b/src/rest/data/ghes-3.21-2022-11-28/apps.json index 46d76a5af290..a019fa2f0767 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/apps.json +++ b/src/rest/data/ghes-3.21-2022-11-28/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12178,8 +12177,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12217,8 +12215,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -13299,8 +13296,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -14211,8 +14207,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/checks.json b/src/rest/data/ghes-3.21-2022-11-28/checks.json index ef6f3f46267c..3f241c3a46fa 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/checks.json +++ b/src/rest/data/ghes-3.21-2022-11-28/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json b/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json index 053b962282e9..9bfe5994d61c 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json +++ b/src/rest/data/ghes-3.21-2022-11-28/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5914,11 +5888,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5928,10 +5902,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -7199,13 +7173,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7215,14 +7189,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -7633,13 +7607,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7649,14 +7623,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/code-security.json b/src/rest/data/ghes-3.21-2022-11-28/code-security.json index 8408a466f470..78e61e8e22ff 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.21-2022-11-28/code-security.json @@ -3382,11 +3382,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/collaborators.json b/src/rest/data/ghes-3.21-2022-11-28/collaborators.json index f5be36aa3022..2ae047ac41db 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/collaborators.json +++ b/src/rest/data/ghes-3.21-2022-11-28/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4483,8 +4483,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/commits.json b/src/rest/data/ghes-3.21-2022-11-28/commits.json index 6f7ef6e212ad..eb5c346b8d4f 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/commits.json +++ b/src/rest/data/ghes-3.21-2022-11-28/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7773,8 +7771,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8137,8 +8134,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8511,8 +8507,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/dependabot.json b/src/rest/data/ghes-3.21-2022-11-28/dependabot.json index 2ddbf6f67c0c..55551aedcd42 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/dependabot.json +++ b/src/rest/data/ghes-3.21-2022-11-28/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1775,22 +1775,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -2321,17 +2311,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/orgs.json b/src/rest/data/ghes-3.21-2022-11-28/orgs.json index 0fbec810df55..dca10c366bc6 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/orgs.json +++ b/src/rest/data/ghes-3.21-2022-11-28/orgs.json @@ -4406,13 +4406,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -4422,6 +4422,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -4431,8 +4432,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -7877,12 +7877,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -7892,12 +7892,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -13147,12 +13147,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -13566,10 +13566,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13579,11 +13579,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13592,14 +13592,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13608,10 +13601,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13620,10 +13610,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13632,8 +13619,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13642,8 +13628,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13652,14 +13637,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13967,8 +13945,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14072,8 +14049,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14173,8 +14149,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15082,8 +15057,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15128,10 +15102,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -15141,11 +15115,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15154,14 +15128,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -15170,10 +15137,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -15182,10 +15146,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -15194,8 +15155,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -15204,8 +15164,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -15214,14 +15173,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -15520,8 +15472,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15619,8 +15570,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15713,8 +15663,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16622,8 +16571,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -16668,13 +16616,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -16691,13 +16639,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -17144,10 +17092,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/packages.json b/src/rest/data/ghes-3.21-2022-11-28/packages.json index 629dee2fc76d..308cc8f40150 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/packages.json +++ b/src/rest/data/ghes-3.21-2022-11-28/packages.json @@ -2053,8 +2053,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3039,8 +3038,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3130,8 +3128,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3230,8 +3227,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3302,11 +3298,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3483,8 +3479,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3690,8 +3685,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3791,8 +3785,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3892,8 +3885,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5907,8 +5899,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6950,8 +6941,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7031,8 +7021,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7121,8 +7110,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7184,11 +7172,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7372,8 +7360,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7569,8 +7556,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7660,8 +7646,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7751,8 +7736,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9808,8 +9792,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10861,8 +10844,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10952,8 +10934,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11052,8 +11033,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11290,8 +11270,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11494,8 +11473,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11595,8 +11573,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11696,8 +11673,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.21-2022-11-28/pages.json b/src/rest/data/ghes-3.21-2022-11-28/pages.json index 4c72c02f14cd..53204288f46b 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/pages.json +++ b/src/rest/data/ghes-3.21-2022-11-28/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.21-2022-11-28/projects.json b/src/rest/data/ghes-3.21-2022-11-28/projects.json index 390f2cfdef3d..fcb0fd86acbc 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/projects.json +++ b/src/rest/data/ghes-3.21-2022-11-28/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -39651,20 +39625,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -72755,20 +72690,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0
The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} }, { "name": "actor", @@ -38040,8 +38027,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -40536,16 +40522,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40692,16 +40669,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -40772,16 +40740,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [ @@ -40905,16 +40864,7 @@ "in": "path", "description": "The ID of the workflow. You can also pass the workflow file name as a string.
", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.21-2026-03-10/activity.json b/src/rest/data/ghes-3.21-2026-03-10/activity.json index 6ff2444878a8..6769a0b64b85 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/activity.json +++ b/src/rest/data/ghes-3.21-2026-03-10/activity.json @@ -159104,8 +159104,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -159114,8 +159113,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -161457,8 +161455,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -161467,8 +161464,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -163124,11 +163120,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -163138,11 +163134,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -165081,11 +165077,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -165095,11 +165091,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/apps.json b/src/rest/data/ghes-3.21-2026-03-10/apps.json index f4486e9d2b47..9a3917381993 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/apps.json +++ b/src/rest/data/ghes-3.21-2026-03-10/apps.json @@ -1241,8 +1241,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -12146,8 +12145,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -12185,8 +12183,7 @@ "fineGrainedPat": false, "permissions": [], "allowPermissionlessAccess": true, - "allowsPublicRead": true, - "disabledForPatV2": true + "allowsPublicRead": true } }, { @@ -13267,8 +13264,7 @@ "serverToServer": false, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -14163,8 +14159,7 @@ { "\"Metadata\" repository permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/checks.json b/src/rest/data/ghes-3.21-2026-03-10/checks.json index aae20dee2326..75548ada3152 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/checks.json +++ b/src/rest/data/ghes-3.21-2026-03-10/checks.json @@ -4833,11 +4833,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -5976,11 +5976,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json b/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json index 0a8c3a84e69d..9491a0244e54 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json +++ b/src/rest/data/ghes-3.21-2026-03-10/code-scanning.json @@ -23,8 +23,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -36,8 +35,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -83,11 +81,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -97,7 +95,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -113,11 +110,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1457,8 +1454,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -1470,8 +1466,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -1517,11 +1512,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1531,7 +1526,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1547,11 +1541,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1561,7 +1555,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2923,8 +2916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -2936,8 +2928,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -2964,8 +2955,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull/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.
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.
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.
The Git reference for the analyses you want to list. The ref for a branch can be formatted either as refs/heads/<branch name> or simply <branch name>. To reference a pull request use refs/pull/<number>/merge.
Filter analyses belonging to the same SARIF upload.
", "required": false, "schema": { - "type": "string", - "description": "An identifier for the upload.", - "examples": [ - "6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53" - ] + "type": "string" } }, { @@ -5914,11 +5888,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5928,10 +5902,10 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created" - ], - "default": "created" + ] } } ], @@ -7197,13 +7171,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7213,14 +7187,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -7631,13 +7605,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -7647,14 +7621,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/code-security.json b/src/rest/data/ghes-3.21-2026-03-10/code-security.json index 8408a466f470..78e61e8e22ff 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/code-security.json +++ b/src/rest/data/ghes-3.21-2026-03-10/code-security.json @@ -3382,11 +3382,11 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "global", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/collaborators.json b/src/rest/data/ghes-3.21-2026-03-10/collaborators.json index ae41798aa64b..d28bbd59f469 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/collaborators.json +++ b/src/rest/data/ghes-3.21-2026-03-10/collaborators.json @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "outside", "direct", "all" - ], - "default": "all" + ] } }, { @@ -4478,8 +4478,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/commits.json b/src/rest/data/ghes-3.21-2026-03-10/commits.json index 17bb7b319818..f5bf0f3603f8 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/commits.json +++ b/src/rest/data/ghes-3.21-2026-03-10/commits.json @@ -68,8 +68,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -78,8 +77,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7615,8 +7613,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -7979,8 +7976,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8353,8 +8349,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/dependabot.json b/src/rest/data/ghes-3.21-2026-03-10/dependabot.json index dc69867f87ae..389d78a89298 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/dependabot.json +++ b/src/rest/data/ghes-3.21-2026-03-10/dependabot.json @@ -50,13 +50,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -66,6 +66,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -74,8 +75,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -476,13 +476,13 @@ "required": false, "schema": { "type": "string", + "default": "month", "enum": [ "hour", "day", "week", "month" - ], - "default": "month" + ] } }, { @@ -492,14 +492,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "open", "approved", "expired", "denied", "all" - ], - "default": "all" + ] } }, { @@ -1775,22 +1775,7 @@ "name": "has", "in": "query", "description": "Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
Filters the list of alerts based on whether the alert has the given value. If specified, only alerts meeting this criterion will be returned.\nMultiple has filters can be passed to filter for alerts that have all of the values. Currently, only patch is supported.
The property by which to sort the results.\ncreated means when the alert was created.\nupdated means when the alert's state last changed.\nepss_percentage sorts alerts by the Exploit Prediction Scoring System (EPSS) percentage.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in number fields in the response from the\nGET /repos/{owner}/{repo}/dependabot/alerts operation.
Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], @@ -1697,17 +1687,7 @@ "description": "Exclude attributes from the API response to improve performance
", "in": "query", "schema": { - "type": "array", - "items": { - "description": "Allowed values that can be passed to the exclude param.", - "enum": [ - "repositories" - ], - "type": "string", - "examples": [ - "repositories" - ] - } + "type": "array" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/orgs.json b/src/rest/data/ghes-3.21-2026-03-10/orgs.json index e6b26f092c5c..9fd8fa7e7b59 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/orgs.json +++ b/src/rest/data/ghes-3.21-2026-03-10/orgs.json @@ -4392,13 +4392,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -4408,6 +4408,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -4417,8 +4418,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -7644,12 +7644,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -7659,12 +7659,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "admin", "member" - ], - "default": "all" + ] } }, { @@ -12922,12 +12922,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "2fa_disabled", "2fa_insecure", "all" - ], - "default": "all" + ] } }, { @@ -13341,10 +13341,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -13354,11 +13354,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13367,14 +13367,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -13383,10 +13376,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -13395,10 +13385,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -13407,8 +13394,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13417,8 +13403,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -13427,14 +13412,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -13742,8 +13720,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13847,8 +13824,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13948,8 +13924,7 @@ { "\"Personal access token requests\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14854,8 +14829,7 @@ { "\"Personal access token requests\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14900,10 +14874,10 @@ "required": false, "schema": { "type": "string", + "default": "created_at", "enum": [ "created_at" - ], - "default": "created_at" + ] } }, { @@ -14913,11 +14887,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14926,14 +14900,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 10, - "items": { - "type": "string" - }, - "examples": [ - "owner[]=octocat1,owner[]=octocat2" - ] + "type": "array" } }, { @@ -14942,10 +14909,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "Hello-World" - ] + "type": "string" } }, { @@ -14954,10 +14918,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "issues_read" - ] + "type": "string" } }, { @@ -14966,8 +14927,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -14976,8 +14936,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -14986,14 +14945,7 @@ "in": "query", "required": false, "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "token_id[]=1,token_id[]=2" - ] + "type": "array" } } ], @@ -15292,8 +15244,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15391,8 +15342,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15485,8 +15435,7 @@ { "\"Personal access tokens\" organization permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16391,8 +16340,7 @@ { "\"Personal access tokens\" organization permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -16437,13 +16385,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -16460,13 +16408,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -16913,10 +16861,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/packages.json b/src/rest/data/ghes-3.21-2026-03-10/packages.json index 0b90fac09d76..6e66b1e20cc6 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/packages.json +++ b/src/rest/data/ghes-3.21-2026-03-10/packages.json @@ -2047,8 +2047,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3030,8 +3029,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3121,8 +3119,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3221,8 +3218,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3293,11 +3289,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -3474,8 +3470,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3681,8 +3676,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3782,8 +3776,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -3883,8 +3876,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -5892,8 +5884,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -6932,8 +6923,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7013,8 +7003,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7103,8 +7092,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7166,11 +7154,11 @@ "description": "The state of the package, either active or deleted.
", "schema": { "type": "string", + "default": "active", "enum": [ "active", "deleted" - ], - "default": "active" + ] } } ], @@ -7354,8 +7342,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7551,8 +7538,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7642,8 +7628,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -7733,8 +7718,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -9784,8 +9768,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10834,8 +10817,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -10925,8 +10907,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11025,8 +11006,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11263,8 +11243,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11467,8 +11446,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11568,8 +11546,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } }, { @@ -11669,8 +11646,7 @@ "serverToServer": true, "fineGrainedPat": false, "permissions": [], - "allowPermissionlessAccess": true, - "disabledForPatV2": true + "allowPermissionlessAccess": true } } ] diff --git a/src/rest/data/ghes-3.21-2026-03-10/pages.json b/src/rest/data/ghes-3.21-2026-03-10/pages.json index 4c72c02f14cd..53204288f46b 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/pages.json +++ b/src/rest/data/ghes-3.21-2026-03-10/pages.json @@ -1827,16 +1827,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -1939,16 +1930,7 @@ "description": "The ID of the Pages deployment. You can also give the commit SHA of the deployment.
", "in": "path", "required": true, - "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] - } + "schema": {} } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.21-2026-03-10/projects.json b/src/rest/data/ghes-3.21-2026-03-10/projects.json index 6adb95c578a5..5473ee45b5dd 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/projects.json +++ b/src/rest/data/ghes-3.21-2026-03-10/projects.json @@ -7606,20 +7606,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -38499,20 +38473,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
Limit results to specific fields, by their IDs. If not specified, the title field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
", "in": "query", "required": false, - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - } - } - ] - } + "schema": {} } ], "bodyParameters": [], @@ -70451,20 +70386,7 @@ "description": "Limit results to specific fields, by their IDs. If not specified, the\ntitle field will be returned.
\nExample: fields[]=123&fields[]=456&fields[]=789 or fields=123,456,789
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.
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.
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.
If specified, only advisories of this type will be returned. By default, a request with no other parameters defined will only return reviewed advisories that are not malware.
", "schema": { "type": "string", + "default": "reviewed", "enum": [ "reviewed", "malware", "unreviewed" - ], - "default": "reviewed" + ] } }, { @@ -44,7 +44,6 @@ "description": "If specified, only advisories for these ecosystems will be returned.
", "schema": { "type": "string", - "description": "The package's language or package management ecosystem.", "enum": [ "rubygems", "npm", @@ -81,19 +80,7 @@ "name": "cwes", "in": "query", "description": "If specified, only advisories with these Common Weakness Enumerations (CWEs) will be returned.
\nExample: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22
If specified, only return advisories that affect any of package or package@version. A maximum of 1000 packages can be specified.\nIf the query parameter causes the URL to exceed the maximum URL length supported by your client, you must specify fewer packages.
Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0