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.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Gets a code quality setup configuration.

\n

OAuth 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.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

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.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "state", + "description": "

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

" + } + ], + "descriptionHTML": "

Updates a code quality setup configuration.

\n

OAuth 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.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python", + "ruby" + ] + }, + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "202", + "contentType": "application/json", + "description": "

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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -1550,11 +1543,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1582,11 +1575,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1596,7 +1589,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1612,7 +1604,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2485,9 +2476,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -3295,9 +3284,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4148,9 +4135,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4278,9 +4263,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4470,9 +4453,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4599,9 +4580,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -4628,8 +4607,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -4857,8 +4835,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -4870,8 +4847,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -4907,8 +4883,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -4917,11 +4892,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -112,12 +97,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -127,11 +112,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1962,23 +1947,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -2014,12 +1983,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -2029,11 +1998,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3873,22 +3842,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3916,12 +3870,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3931,11 +3885,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5222,9 +5176,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6339,9 +6291,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7485,7 +7435,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -7496,8 +7445,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } @@ -8190,7 +8137,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -8201,8 +8147,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/fpt-2022-11-28/enterprise-teams.json b/src/rest/data/fpt-2022-11-28/enterprise-teams.json index ad0d25f110be..62b2e9377a69 100644 --- a/src/rest/data/fpt-2022-11-28/enterprise-teams.json +++ b/src/rest/data/fpt-2022-11-28/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1867,8 +1858,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1945,8 +1935,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -2110,8 +2099,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2270,8 +2258,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2347,8 +2334,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2503,8 +2489,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2655,8 +2640,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2729,8 +2713,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/fpt-2022-11-28/gists.json b/src/rest/data/fpt-2022-11-28/gists.json index ced57c43e2b7..f31820cc8690 100644 --- a/src/rest/data/fpt-2022-11-28/gists.json +++ b/src/rest/data/fpt-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/fpt-2022-11-28/issues.json b/src/rest/data/fpt-2022-11-28/issues.json index ab5fb6a6c281..98ff10322911 100644 --- a/src/rest/data/fpt-2022-11-28/issues.json +++ b/src/rest/data/fpt-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34571,8 +34563,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35387,8 +35378,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35490,8 +35480,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -68960,12 +68949,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -68975,11 +68964,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -68989,11 +68978,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/licenses.json b/src/rest/data/fpt-2022-11-28/licenses.json index 2918d05727ee..d380e619018d 100644 --- a/src/rest/data/fpt-2022-11-28/licenses.json +++ b/src/rest/data/fpt-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/fpt-2022-11-28/metrics.json b/src/rest/data/fpt-2022-11-28/metrics.json index 5027d40535f6..c49e06fc97e1 100644 --- a/src/rest/data/fpt-2022-11-28/metrics.json +++ b/src/rest/data/fpt-2022-11-28/metrics.json @@ -1177,11 +1177,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], @@ -1654,11 +1654,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], diff --git a/src/rest/data/fpt-2022-11-28/migrations.json b/src/rest/data/fpt-2022-11-28/migrations.json index 21a00f738b32..b942c3b2d3cd 100644 --- a/src/rest/data/fpt-2022-11-28/migrations.json +++ b/src/rest/data/fpt-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -33597,20 +33584,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -40760,20 +40721,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -66714,20 +66662,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/fpt-2022-11-28/pulls.json b/src/rest/data/fpt-2022-11-28/pulls.json index 68a41eda5dd4..3b7edf41fa42 100644 --- a/src/rest/data/fpt-2022-11-28/pulls.json +++ b/src/rest/data/fpt-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/fpt-2022-11-28/reactions.json b/src/rest/data/fpt-2022-11-28/reactions.json index 7f328bea2894..58347ca52f5c 100644 --- a/src/rest/data/fpt-2022-11-28/reactions.json +++ b/src/rest/data/fpt-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/fpt-2022-11-28/repos.json b/src/rest/data/fpt-2022-11-28/repos.json index 4fd4c9d4749e..0367644ff916 100644 --- a/src/rest/data/fpt-2022-11-28/repos.json +++ b/src/rest/data/fpt-2022-11-28/repos.json @@ -24,6 +24,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", @@ -31,8 +32,7 @@ "forks", "sources", "member" - ], - "default": "all" + ] } }, { @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -12235,11 +12235,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15464,8 +15464,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20104,12 +20103,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -20129,14 +20128,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -20146,13 +20145,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -20192,8 +20191,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -20202,8 +20200,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24790,12 +24787,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24805,13 +24802,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -30735,13 +30732,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -35262,13 +35259,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -35285,13 +35282,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -37357,10 +37354,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2022-11-28/search.json b/src/rest/data/fpt-2022-11-28/search.json index e1fbb3c1342e..c2b498698c22 100644 --- a/src/rest/data/fpt-2022-11-28/search.json +++ b/src/rest/data/fpt-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1057,11 +1057,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2381,11 +2381,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8172,11 +8172,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8418,11 +8418,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9626,11 +9626,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/fpt-2022-11-28/secret-scanning.json b/src/rest/data/fpt-2022-11-28/secret-scanning.json index f7cdffa50361..bb770b84ace4 100644 --- a/src/rest/data/fpt-2022-11-28/secret-scanning.json +++ b/src/rest/data/fpt-2022-11-28/secret-scanning.json @@ -91,11 +91,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -105,11 +105,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1994,11 +1994,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -2008,11 +2008,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3398,9 +3398,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -4622,9 +4620,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5930,9 +5926,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { diff --git a/src/rest/data/fpt-2022-11-28/security-advisories.json b/src/rest/data/fpt-2022-11-28/security-advisories.json index 1e34f0e8bf3f..761725c78425 100644 --- a/src/rest/data/fpt-2022-11-28/security-advisories.json +++ b/src/rest/data/fpt-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], @@ -1625,11 +1597,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1639,12 +1611,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -1672,8 +1644,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3736,11 +3706,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3750,12 +3720,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -3783,8 +3753,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/fpt-2022-11-28/teams.json b/src/rest/data/fpt-2022-11-28/teams.json index 3ee0727a9632..ed936c730aba 100644 --- a/src/rest/data/fpt-2022-11-28/teams.json +++ b/src/rest/data/fpt-2022-11-28/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -9891,12 +9891,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10728,12 +10728,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/actions.json b/src/rest/data/fpt-2026-03-10/actions.json index 73cb97a83062..07334a5c9888 100644 --- a/src/rest/data/fpt-2026-03-10/actions.json +++ b/src/rest/data/fpt-2026-03-10/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 + ] } }, { @@ -27099,11 +27088,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -27715,8 +27704,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37262,16 +37250,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", @@ -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.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Gets a code quality setup configuration.

\n

OAuth 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.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

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.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "state", + "description": "

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

" + } + ], + "descriptionHTML": "

Updates a code quality setup configuration.

\n

OAuth 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.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "state": "configured", + "languages": [ + "javascript-typescript", + "python", + "ruby" + ] + }, + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "202", + "contentType": "application/json", + "description": "

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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -1550,11 +1543,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1582,11 +1575,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1596,7 +1589,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -1612,7 +1604,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -2485,9 +2476,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -3295,9 +3284,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4148,9 +4135,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4278,9 +4263,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4470,9 +4453,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4599,9 +4580,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -4628,8 +4607,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -4857,8 +4835,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -4870,8 +4847,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -4907,8 +4883,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -4917,11 +4892,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -112,12 +97,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -127,11 +112,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1934,23 +1919,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -1986,12 +1955,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -2001,11 +1970,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3817,22 +3786,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3860,12 +3814,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3875,11 +3829,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5138,9 +5092,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6227,9 +6179,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7345,7 +7295,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -7356,8 +7305,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } @@ -8050,7 +7997,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -8061,8 +8007,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/fpt-2026-03-10/enterprise-teams.json b/src/rest/data/fpt-2026-03-10/enterprise-teams.json index ad0d25f110be..62b2e9377a69 100644 --- a/src/rest/data/fpt-2026-03-10/enterprise-teams.json +++ b/src/rest/data/fpt-2026-03-10/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1867,8 +1858,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1945,8 +1935,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -2110,8 +2099,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2270,8 +2258,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2347,8 +2334,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2503,8 +2489,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2655,8 +2640,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2729,8 +2713,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/fpt-2026-03-10/gists.json b/src/rest/data/fpt-2026-03-10/gists.json index 974ea713183a..4c71076e26c2 100644 --- a/src/rest/data/fpt-2026-03-10/gists.json +++ b/src/rest/data/fpt-2026-03-10/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1114,8 +1113,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1468,8 +1466,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6919,8 +6916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7846,8 +7842,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8122,8 +8117,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8404,8 +8398,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/fpt-2026-03-10/issues.json b/src/rest/data/fpt-2026-03-10/issues.json index 04e21a4ffaf4..6c9be8eb4495 100644 --- a/src/rest/data/fpt-2026-03-10/issues.json +++ b/src/rest/data/fpt-2026-03-10/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3160,6 +3159,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3167,8 +3167,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3178,12 +3177,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3211,12 +3210,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3226,11 +3225,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3239,8 +3238,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6291,12 +6289,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6360,12 +6358,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6375,11 +6373,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6388,8 +6386,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -21313,6 +21310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -21320,8 +21318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -21331,12 +21328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -21355,12 +21352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -21370,11 +21367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21383,8 +21380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -30657,11 +30653,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -30683,8 +30679,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -31490,8 +31485,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -32272,8 +32266,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33064,8 +33057,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33141,8 +33133,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33957,8 +33948,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34060,8 +34050,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -66710,12 +66699,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66725,11 +66714,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -66739,11 +66728,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/licenses.json b/src/rest/data/fpt-2026-03-10/licenses.json index 2918d05727ee..d380e619018d 100644 --- a/src/rest/data/fpt-2026-03-10/licenses.json +++ b/src/rest/data/fpt-2026-03-10/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/fpt-2026-03-10/metrics.json b/src/rest/data/fpt-2026-03-10/metrics.json index 5027d40535f6..c49e06fc97e1 100644 --- a/src/rest/data/fpt-2026-03-10/metrics.json +++ b/src/rest/data/fpt-2026-03-10/metrics.json @@ -1177,11 +1177,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], @@ -1654,11 +1654,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], diff --git a/src/rest/data/fpt-2026-03-10/migrations.json b/src/rest/data/fpt-2026-03-10/migrations.json index de9725027c4b..5ae5c78202bc 100644 --- a/src/rest/data/fpt-2026-03-10/migrations.json +++ b/src/rest/data/fpt-2026-03-10/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -32445,20 +32432,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -39608,20 +39569,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -64410,20 +64358,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/fpt-2026-03-10/pulls.json b/src/rest/data/fpt-2026-03-10/pulls.json index 18f7a6172083..4a08b8440b0f 100644 --- a/src/rest/data/fpt-2026-03-10/pulls.json +++ b/src/rest/data/fpt-2026-03-10/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" + ] } }, { @@ -15260,8 +15260,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -15796,8 +15795,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16314,8 +16312,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16838,8 +16835,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16926,11 +16922,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -16952,8 +16948,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18095,8 +18090,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/fpt-2026-03-10/reactions.json b/src/rest/data/fpt-2026-03-10/reactions.json index 7f328bea2894..58347ca52f5c 100644 --- a/src/rest/data/fpt-2026-03-10/reactions.json +++ b/src/rest/data/fpt-2026-03-10/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/fpt-2026-03-10/repos.json b/src/rest/data/fpt-2026-03-10/repos.json index 8fc54c88ec44..fa6726765b6d 100644 --- a/src/rest/data/fpt-2026-03-10/repos.json +++ b/src/rest/data/fpt-2026-03-10/repos.json @@ -24,6 +24,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", @@ -31,8 +32,7 @@ "forks", "sources", "member" - ], - "default": "all" + ] } }, { @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -12071,11 +12071,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15296,8 +15296,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19878,12 +19877,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19903,14 +19902,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19920,13 +19919,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19966,8 +19965,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19976,8 +19974,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24497,12 +24494,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24512,13 +24509,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -30420,13 +30417,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34889,13 +34886,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34912,13 +34909,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -36984,10 +36981,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/fpt-2026-03-10/search.json b/src/rest/data/fpt-2026-03-10/search.json index 52c428fb24cc..15cd46a16bc5 100644 --- a/src/rest/data/fpt-2026-03-10/search.json +++ b/src/rest/data/fpt-2026-03-10/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1054,11 +1054,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2375,11 +2375,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -7895,11 +7895,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8141,11 +8141,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9349,11 +9349,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/fpt-2026-03-10/secret-scanning.json b/src/rest/data/fpt-2026-03-10/secret-scanning.json index f7cdffa50361..bb770b84ace4 100644 --- a/src/rest/data/fpt-2026-03-10/secret-scanning.json +++ b/src/rest/data/fpt-2026-03-10/secret-scanning.json @@ -91,11 +91,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -105,11 +105,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1994,11 +1994,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -2008,11 +2008,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3398,9 +3398,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -4622,9 +4620,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5930,9 +5926,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { diff --git a/src/rest/data/fpt-2026-03-10/security-advisories.json b/src/rest/data/fpt-2026-03-10/security-advisories.json index 0a0f6d67166f..7afd7f4eecd4 100644 --- a/src/rest/data/fpt-2026-03-10/security-advisories.json +++ b/src/rest/data/fpt-2026-03-10/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], @@ -1561,11 +1533,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1575,12 +1547,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -1608,8 +1580,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3642,11 +3612,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3656,12 +3626,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -3689,8 +3659,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/fpt-2026-03-10/teams.json b/src/rest/data/fpt-2026-03-10/teams.json index 2397e4128300..3c5c0745a39d 100644 --- a/src/rest/data/fpt-2026-03-10/teams.json +++ b/src/rest/data/fpt-2026-03-10/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -9861,12 +9861,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10698,12 +10698,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/actions.json b/src/rest/data/ghec-2022-11-28/actions.json index e779f5987e92..ac784236a27b 100644 --- a/src/rest/data/ghec-2022-11-28/actions.json +++ b/src/rest/data/ghec-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 + ] } }, { @@ -1245,8 +1241,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2257,12 +2252,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -2272,11 +2267,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -2783,8 +2778,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } }, { @@ -2793,8 +2787,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } } ], @@ -4326,8 +4319,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -4437,8 +4429,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -6858,8 +6849,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -6973,8 +6963,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -8391,8 +8380,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -8490,8 +8478,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -8594,8 +8581,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -8670,8 +8656,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -35903,11 +35888,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -36519,8 +36504,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -46156,16 +46140,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5582,9 +5566,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5712,9 +5694,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5904,9 +5884,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6033,9 +6011,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -6062,8 +6038,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -6291,8 +6266,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -6304,8 +6278,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -6341,8 +6314,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -6351,11 +6323,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -1818,12 +1803,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1833,11 +1818,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3668,23 +3653,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3720,12 +3689,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3735,11 +3704,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5579,22 +5548,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -5622,12 +5576,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -5637,11 +5591,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6928,9 +6882,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -8045,9 +7997,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -9191,7 +9141,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -9202,8 +9151,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } @@ -9896,7 +9843,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -9907,8 +9853,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghec-2022-11-28/enterprise-admin.json b/src/rest/data/ghec-2022-11-28/enterprise-admin.json index 65f26426a31c..64f42f4e0089 100644 --- a/src/rest/data/ghec-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghec-2022-11-28/enterprise-admin.json @@ -459,8 +459,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -786,8 +785,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2037,13 +2035,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2053,6 +2051,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2062,8 +2061,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -2812,8 +2810,7 @@ { "\"Enterprise credentials\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -3005,8 +3002,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3299,8 +3295,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3490,8 +3485,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3671,8 +3665,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3912,8 +3905,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3984,8 +3976,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -4181,8 +4172,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4481,8 +4471,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -4668,8 +4657,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4914,8 +4902,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -4990,8 +4977,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5150,8 +5136,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5264,8 +5249,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5531,8 +5515,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5607,8 +5590,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5693,8 +5675,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5779,8 +5760,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5855,8 +5835,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5941,8 +5920,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -6027,8 +6005,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -6260,8 +6237,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6446,8 +6422,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6820,8 +6795,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -7259,8 +7233,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -7370,8 +7343,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -7554,8 +7526,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -8430,8 +8401,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -8555,8 +8525,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -9184,8 +9153,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10215,8 +10183,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10297,8 +10264,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10432,8 +10398,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11468,8 +11433,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11599,8 +11563,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11734,8 +11697,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14647,8 +14609,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16081,8 +16042,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18999,8 +18959,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19071,8 +19030,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19406,10 +19364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -19419,11 +19374,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -19433,11 +19384,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -19694,8 +19641,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19972,8 +19918,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19990,10 +19935,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -20002,10 +19944,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -20219,8 +20158,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -20237,10 +20175,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -20680,8 +20615,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20698,10 +20632,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -21150,8 +21081,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21168,10 +21098,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -21241,8 +21168,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21269,11 +21195,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -21283,11 +21205,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -21619,8 +21537,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -22344,8 +22261,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -22657,8 +22573,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -23129,8 +23044,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24009,8 +23923,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24097,8 +24010,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghec-2022-11-28/enterprise-teams.json b/src/rest/data/ghec-2022-11-28/enterprise-teams.json index 05845b2eab2d..884f3ccb3a7b 100644 --- a/src/rest/data/ghec-2022-11-28/enterprise-teams.json +++ b/src/rest/data/ghec-2022-11-28/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1867,8 +1858,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1945,8 +1935,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -2110,8 +2099,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2270,8 +2258,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2347,8 +2334,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2503,8 +2489,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2655,8 +2640,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2729,8 +2713,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghec-2022-11-28/gists.json b/src/rest/data/ghec-2022-11-28/gists.json index 3b3b473baf42..d1d2f29b455a 100644 --- a/src/rest/data/ghec-2022-11-28/gists.json +++ b/src/rest/data/ghec-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghec-2022-11-28/issues.json b/src/rest/data/ghec-2022-11-28/issues.json index d6a4654197b6..240589cdf30f 100644 --- a/src/rest/data/ghec-2022-11-28/issues.json +++ b/src/rest/data/ghec-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34571,8 +34563,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35387,8 +35378,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35490,8 +35480,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -68960,12 +68949,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -68975,11 +68964,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -68989,11 +68978,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/licenses.json b/src/rest/data/ghec-2022-11-28/licenses.json index 2aa7f8366b41..099d657ea494 100644 --- a/src/rest/data/ghec-2022-11-28/licenses.json +++ b/src/rest/data/ghec-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/metrics.json b/src/rest/data/ghec-2022-11-28/metrics.json index 225305dcedf2..52cb783659a2 100644 --- a/src/rest/data/ghec-2022-11-28/metrics.json +++ b/src/rest/data/ghec-2022-11-28/metrics.json @@ -1177,11 +1177,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], @@ -1654,11 +1654,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], diff --git a/src/rest/data/ghec-2022-11-28/migrations.json b/src/rest/data/ghec-2022-11-28/migrations.json index e640d4acd37b..e904acd72215 100644 --- a/src/rest/data/ghec-2022-11-28/migrations.json +++ b/src/rest/data/ghec-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -33597,20 +33584,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -40760,20 +40721,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -66714,20 +66662,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/ghec-2022-11-28/pulls.json b/src/rest/data/ghec-2022-11-28/pulls.json index 67ed44b577fc..797496533058 100644 --- a/src/rest/data/ghec-2022-11-28/pulls.json +++ b/src/rest/data/ghec-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/ghec-2022-11-28/reactions.json b/src/rest/data/ghec-2022-11-28/reactions.json index 3b3c4123005f..a8be70c537fd 100644 --- a/src/rest/data/ghec-2022-11-28/reactions.json +++ b/src/rest/data/ghec-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/ghec-2022-11-28/repos.json b/src/rest/data/ghec-2022-11-28/repos.json index 404017656fcd..b4e8cd7fe0b9 100644 --- a/src/rest/data/ghec-2022-11-28/repos.json +++ b/src/rest/data/ghec-2022-11-28/repos.json @@ -41,13 +41,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -12301,11 +12301,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15542,8 +15542,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20206,12 +20205,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -20231,14 +20230,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -20248,13 +20247,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -20294,8 +20293,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -20304,8 +20302,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24904,12 +24901,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24919,13 +24916,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -26788,13 +26785,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -26804,6 +26801,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -26813,8 +26811,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -31622,13 +31619,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -36302,13 +36299,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -36325,13 +36322,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -38397,10 +38394,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2022-11-28/search.json b/src/rest/data/ghec-2022-11-28/search.json index 470bc7012c45..2f9a1a520696 100644 --- a/src/rest/data/ghec-2022-11-28/search.json +++ b/src/rest/data/ghec-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1069,11 +1069,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2405,11 +2405,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8196,11 +8196,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8442,11 +8442,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9650,11 +9650,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/secret-scanning.json b/src/rest/data/ghec-2022-11-28/secret-scanning.json index cfc18a318423..aadeda9ee6e1 100644 --- a/src/rest/data/ghec-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghec-2022-11-28/secret-scanning.json @@ -91,11 +91,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -105,11 +105,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1972,11 +1972,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1986,11 +1986,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3875,11 +3875,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3889,11 +3889,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5279,9 +5279,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -6503,9 +6501,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7811,9 +7807,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -8822,13 +8816,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8838,6 +8832,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8846,8 +8841,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9235,13 +9229,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9251,6 +9245,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9259,8 +9254,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9654,13 +9648,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9670,6 +9664,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9678,8 +9673,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10524,13 +10518,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10540,6 +10534,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10549,8 +10544,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10942,13 +10936,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10958,6 +10952,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10967,8 +10962,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -11366,13 +11360,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -11382,6 +11376,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -11391,8 +11386,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2022-11-28/security-advisories.json b/src/rest/data/ghec-2022-11-28/security-advisories.json index 74c3b264e0c1..890dbe86c202 100644 --- a/src/rest/data/ghec-2022-11-28/security-advisories.json +++ b/src/rest/data/ghec-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], @@ -1625,11 +1597,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1639,12 +1611,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -1672,8 +1644,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3736,11 +3706,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3750,12 +3720,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -3783,8 +3753,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/ghec-2022-11-28/teams.json b/src/rest/data/ghec-2022-11-28/teams.json index 5c7a9ae0720b..f04d2098e92c 100644 --- a/src/rest/data/ghec-2022-11-28/teams.json +++ b/src/rest/data/ghec-2022-11-28/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -10598,12 +10598,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -11435,12 +11435,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/actions.json b/src/rest/data/ghec-2026-03-10/actions.json index 0a138046c195..073c39aa6d5f 100644 --- a/src/rest/data/ghec-2026-03-10/actions.json +++ b/src/rest/data/ghec-2026-03-10/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 + ] } }, { @@ -1245,8 +1241,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2257,12 +2252,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -2272,11 +2267,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -2783,8 +2778,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } }, { @@ -2793,8 +2787,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1 + "type": "integer" } } ], @@ -4326,8 +4319,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -4437,8 +4429,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -6858,8 +6849,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -6973,8 +6963,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+$" + "type": "string" } } ], @@ -8391,8 +8380,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -8490,8 +8478,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -8594,8 +8581,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -8670,8 +8656,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -35766,11 +35751,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -36382,8 +36367,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -46001,16 +45985,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5582,9 +5566,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5712,9 +5694,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5904,9 +5884,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6033,9 +6011,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -6062,8 +6038,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -6291,8 +6266,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -6304,8 +6278,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -6341,8 +6314,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -6351,11 +6323,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -1818,12 +1803,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1833,11 +1818,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3640,23 +3625,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3692,12 +3661,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3707,11 +3676,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5523,22 +5492,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -5566,12 +5520,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -5581,11 +5535,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6844,9 +6798,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7933,9 +7885,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -9051,7 +9001,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -9062,8 +9011,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } @@ -9756,7 +9703,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -9767,8 +9713,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghec-2026-03-10/enterprise-admin.json b/src/rest/data/ghec-2026-03-10/enterprise-admin.json index 65f26426a31c..64f42f4e0089 100644 --- a/src/rest/data/ghec-2026-03-10/enterprise-admin.json +++ b/src/rest/data/ghec-2026-03-10/enterprise-admin.json @@ -459,8 +459,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -786,8 +785,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2037,13 +2035,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2053,6 +2051,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2062,8 +2061,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -2812,8 +2810,7 @@ { "\"Enterprise credentials\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -3005,8 +3002,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3299,8 +3295,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3490,8 +3485,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3671,8 +3665,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3912,8 +3905,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3984,8 +3976,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -4181,8 +4172,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4481,8 +4471,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -4668,8 +4657,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4914,8 +4902,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -4990,8 +4977,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5150,8 +5136,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5264,8 +5249,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5531,8 +5515,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5607,8 +5590,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5693,8 +5675,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5779,8 +5760,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5855,8 +5835,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -5941,8 +5920,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -6027,8 +6005,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -6260,8 +6237,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6446,8 +6422,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6820,8 +6795,7 @@ { "\"Custom enterprise roles\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } } ], @@ -7259,8 +7233,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -7370,8 +7343,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -7554,8 +7526,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -8430,8 +8401,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -8555,8 +8525,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -9184,8 +9153,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10215,8 +10183,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10297,8 +10264,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10432,8 +10398,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11468,8 +11433,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11599,8 +11563,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11734,8 +11697,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14647,8 +14609,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16081,8 +16042,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18999,8 +18959,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19071,8 +19030,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19406,10 +19364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -19419,11 +19374,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -19433,11 +19384,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -19694,8 +19641,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19972,8 +19918,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19990,10 +19935,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -20002,10 +19944,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -20219,8 +20158,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -20237,10 +20175,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -20680,8 +20615,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20698,10 +20632,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -21150,8 +21081,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21168,10 +21098,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -21241,8 +21168,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21269,11 +21195,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -21283,11 +21205,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -21619,8 +21537,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -22344,8 +22261,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -22657,8 +22573,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -23129,8 +23044,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24009,8 +23923,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -24097,8 +24010,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghec-2026-03-10/enterprise-teams.json b/src/rest/data/ghec-2026-03-10/enterprise-teams.json index 05845b2eab2d..884f3ccb3a7b 100644 --- a/src/rest/data/ghec-2026-03-10/enterprise-teams.json +++ b/src/rest/data/ghec-2026-03-10/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1867,8 +1858,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1945,8 +1935,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -2110,8 +2099,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2270,8 +2258,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2347,8 +2334,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2503,8 +2489,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2655,8 +2640,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2729,8 +2713,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghec-2026-03-10/gists.json b/src/rest/data/ghec-2026-03-10/gists.json index 4b88f4e341b9..981b294611af 100644 --- a/src/rest/data/ghec-2026-03-10/gists.json +++ b/src/rest/data/ghec-2026-03-10/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1114,8 +1113,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1468,8 +1466,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6919,8 +6916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7846,8 +7842,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8122,8 +8117,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8404,8 +8398,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghec-2026-03-10/issues.json b/src/rest/data/ghec-2026-03-10/issues.json index 30367528dcd0..3eac9e5504f2 100644 --- a/src/rest/data/ghec-2026-03-10/issues.json +++ b/src/rest/data/ghec-2026-03-10/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3160,6 +3159,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3167,8 +3167,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3178,12 +3177,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3211,12 +3210,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3226,11 +3225,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3239,8 +3238,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6291,12 +6289,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6360,12 +6358,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6375,11 +6373,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6388,8 +6386,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -21313,6 +21310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -21320,8 +21318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -21331,12 +21328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -21355,12 +21352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -21370,11 +21367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21383,8 +21380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -30657,11 +30653,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -30683,8 +30679,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -31490,8 +31485,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -32272,8 +32266,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33064,8 +33057,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33141,8 +33133,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33957,8 +33948,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34060,8 +34050,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -66710,12 +66699,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66725,11 +66714,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -66739,11 +66728,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/licenses.json b/src/rest/data/ghec-2026-03-10/licenses.json index 2aa7f8366b41..099d657ea494 100644 --- a/src/rest/data/ghec-2026-03-10/licenses.json +++ b/src/rest/data/ghec-2026-03-10/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/metrics.json b/src/rest/data/ghec-2026-03-10/metrics.json index 225305dcedf2..52cb783659a2 100644 --- a/src/rest/data/ghec-2026-03-10/metrics.json +++ b/src/rest/data/ghec-2026-03-10/metrics.json @@ -1177,11 +1177,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], @@ -1654,11 +1654,11 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "day", "week" - ], - "default": "day" + ] } } ], diff --git a/src/rest/data/ghec-2026-03-10/migrations.json b/src/rest/data/ghec-2026-03-10/migrations.json index 7865cffc771f..1c7f10127cb7 100644 --- a/src/rest/data/ghec-2026-03-10/migrations.json +++ b/src/rest/data/ghec-2026-03-10/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -32445,20 +32432,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -39608,20 +39569,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -64410,20 +64358,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/ghec-2026-03-10/pulls.json b/src/rest/data/ghec-2026-03-10/pulls.json index 0022948c4066..bcb30e59354d 100644 --- a/src/rest/data/ghec-2026-03-10/pulls.json +++ b/src/rest/data/ghec-2026-03-10/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" + ] } }, { @@ -15260,8 +15260,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -15796,8 +15795,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16314,8 +16312,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16838,8 +16835,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16926,11 +16922,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -16952,8 +16948,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18095,8 +18090,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghec-2026-03-10/reactions.json b/src/rest/data/ghec-2026-03-10/reactions.json index 3b3c4123005f..a8be70c537fd 100644 --- a/src/rest/data/ghec-2026-03-10/reactions.json +++ b/src/rest/data/ghec-2026-03-10/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/ghec-2026-03-10/repos.json b/src/rest/data/ghec-2026-03-10/repos.json index b7963bcab16e..117637786b6a 100644 --- a/src/rest/data/ghec-2026-03-10/repos.json +++ b/src/rest/data/ghec-2026-03-10/repos.json @@ -41,13 +41,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -12137,11 +12137,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15374,8 +15374,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19980,12 +19979,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -20005,14 +20004,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -20022,13 +20021,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -20068,8 +20067,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -20078,8 +20076,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24611,12 +24608,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24626,13 +24623,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -26473,13 +26470,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -26489,6 +26486,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -26498,8 +26496,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -31307,13 +31304,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -35929,13 +35926,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -35952,13 +35949,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -38024,10 +38021,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "branch,tag,push" - ] + "type": "string" } } ], diff --git a/src/rest/data/ghec-2026-03-10/search.json b/src/rest/data/ghec-2026-03-10/search.json index a3fa3963462c..5d4acde043e4 100644 --- a/src/rest/data/ghec-2026-03-10/search.json +++ b/src/rest/data/ghec-2026-03-10/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1066,11 +1066,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2399,11 +2399,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -7919,11 +7919,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8165,11 +8165,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9373,11 +9373,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/secret-scanning.json b/src/rest/data/ghec-2026-03-10/secret-scanning.json index cfc18a318423..aadeda9ee6e1 100644 --- a/src/rest/data/ghec-2026-03-10/secret-scanning.json +++ b/src/rest/data/ghec-2026-03-10/secret-scanning.json @@ -91,11 +91,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -105,11 +105,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1972,11 +1972,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1986,11 +1986,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3875,11 +3875,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3889,11 +3889,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5279,9 +5279,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -6503,9 +6501,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7811,9 +7807,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -8822,13 +8816,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8838,6 +8832,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8846,8 +8841,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9235,13 +9229,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9251,6 +9245,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9259,8 +9254,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9654,13 +9648,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9670,6 +9664,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9678,8 +9673,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10524,13 +10518,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10540,6 +10534,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10549,8 +10544,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10942,13 +10936,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10958,6 +10952,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10967,8 +10962,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -11366,13 +11360,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -11382,6 +11376,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -11391,8 +11386,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghec-2026-03-10/security-advisories.json b/src/rest/data/ghec-2026-03-10/security-advisories.json index f1064e2822be..da5d269f44c8 100644 --- a/src/rest/data/ghec-2026-03-10/security-advisories.json +++ b/src/rest/data/ghec-2026-03-10/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], @@ -1561,11 +1533,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1575,12 +1547,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -1608,8 +1580,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3642,11 +3612,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3656,12 +3626,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "published" - ], - "default": "created" + ] } }, { @@ -3689,8 +3659,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, diff --git a/src/rest/data/ghec-2026-03-10/teams.json b/src/rest/data/ghec-2026-03-10/teams.json index 7b627a15f0ee..c4547b9f21a8 100644 --- a/src/rest/data/ghec-2026-03-10/teams.json +++ b/src/rest/data/ghec-2026-03-10/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -10568,12 +10568,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -11405,12 +11405,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/actions.json b/src/rest/data/ghes-3.16-2022-11-28/actions.json index a988b072655f..bfa6f66b22dc 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.16-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -25170,11 +25167,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -25786,8 +25783,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -34466,16 +34462,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5577,9 +5561,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5606,8 +5588,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5835,8 +5816,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5848,8 +5828,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5885,8 +5864,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5895,11 +5873,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -96,12 +81,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -111,11 +96,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -143,8 +128,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -154,9 +137,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -1798,23 +1779,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "runtime_risk", @@ -1842,12 +1807,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1857,11 +1822,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1889,8 +1854,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -1900,9 +1863,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -3553,22 +3514,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -3588,12 +3534,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3603,11 +3549,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3653,8 +3599,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3664,9 +3608,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } } ], @@ -4763,9 +4705,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5713,9 +5653,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json index 881b4a6732dd..d34c8e8f0f81 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.16-2022-11-28/enterprise-admin.json @@ -1698,8 +1698,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4742,8 +4741,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -7354,11 +7352,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -7368,12 +7366,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -7985,11 +7983,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -7998,12 +7996,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -8759,11 +8757,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8773,12 +8771,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -9618,11 +9616,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -9631,12 +9629,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -10037,10 +10035,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -10050,11 +10045,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -10064,11 +10055,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -10325,8 +10312,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10603,8 +10589,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10621,10 +10606,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -10633,10 +10615,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -10850,8 +10829,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10868,10 +10846,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11311,8 +11286,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11329,10 +11303,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11781,8 +11752,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11799,10 +11769,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11872,8 +11839,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11900,11 +11866,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -11914,11 +11876,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -12250,8 +12208,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12975,8 +12932,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13288,8 +13244,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13760,8 +13715,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14640,8 +14594,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14728,8 +14681,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14767,11 +14719,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14780,12 +14732,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.16-2022-11-28/gists.json b/src/rest/data/ghes-3.16-2022-11-28/gists.json index 8ef597515f03..aa285265a4d2 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.16-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1638,8 +1637,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2116,8 +2114,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10222,8 +10219,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11273,8 +11269,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11549,8 +11544,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11831,8 +11825,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/issues.json b/src/rest/data/ghes-3.16-2022-11-28/issues.json index a75a484cc2ea..c8d6d80bce59 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.16-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34580,8 +34572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -55121,12 +55112,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -55136,11 +55127,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -55150,11 +55141,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/licenses.json b/src/rest/data/ghes-3.16-2022-11-28/licenses.json index 7078ab04fa54..b09927354e48 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.16-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/migrations.json b/src/rest/data/ghes-3.16-2022-11-28/migrations.json index 8c125484c72b..7bbe497b1271 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.16-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4031,9 +4029,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4698,9 +4694,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { diff --git a/src/rest/data/ghes-3.16-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.16-2022-11-28/security-advisories.json index bfc3c733331d..50db57619ace 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.16-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.16-2022-11-28/teams.json b/src/rest/data/ghes-3.16-2022-11-28/teams.json index 38b6e42d250f..1c151dd85a9c 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.16-2022-11-28/teams.json @@ -11574,12 +11574,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -12126,12 +12126,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/actions.json b/src/rest/data/ghes-3.17-2022-11-28/actions.json index c8232b0609f5..6536d26fba3e 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.17-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -25206,11 +25203,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -25822,8 +25819,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -34574,16 +34570,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5577,9 +5561,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5606,8 +5588,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5835,8 +5816,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5848,8 +5828,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5885,8 +5864,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5895,11 +5873,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -96,12 +81,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -111,11 +96,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -143,8 +128,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -154,9 +137,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -1798,23 +1779,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "runtime_risk", @@ -1842,12 +1807,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1857,11 +1822,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1889,8 +1854,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -1900,9 +1863,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -3553,22 +3514,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -3588,12 +3534,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3603,11 +3549,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3653,8 +3599,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3664,9 +3608,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } } ], @@ -4763,9 +4705,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5713,9 +5653,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json index b4195bc3a516..7a103a5cd46d 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.17-2022-11-28/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4771,8 +4770,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -7383,11 +7381,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -7397,12 +7395,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -8014,11 +8012,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8027,12 +8025,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -8788,11 +8786,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8802,12 +8800,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -9647,11 +9645,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -9660,12 +9658,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -10066,10 +10064,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -10079,11 +10074,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -10093,11 +10084,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -10354,8 +10341,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10632,8 +10618,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -10650,10 +10635,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -10662,10 +10644,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -10879,8 +10858,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10897,10 +10875,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11340,8 +11315,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11358,10 +11332,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11810,8 +11781,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11828,10 +11798,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11901,8 +11868,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11929,11 +11895,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -11943,11 +11905,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -12279,8 +12237,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13004,8 +12961,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13317,8 +13273,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13789,8 +13744,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14669,8 +14623,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14757,8 +14710,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14796,11 +14748,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14809,12 +14761,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.17-2022-11-28/gists.json b/src/rest/data/ghes-3.17-2022-11-28/gists.json index 51d7d6812492..51b98854a094 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.17-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/issues.json b/src/rest/data/ghes-3.17-2022-11-28/issues.json index 8ac408da003d..db26d176a561 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.17-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34580,8 +34572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -55121,12 +55112,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -55136,11 +55127,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -55150,11 +55141,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/licenses.json b/src/rest/data/ghes-3.17-2022-11-28/licenses.json index 92153ffe0368..41845ac22db3 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.17-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/migrations.json b/src/rest/data/ghes-3.17-2022-11-28/migrations.json index a02bf7fe6936..bd7827abe931 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.17-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4059,9 +4057,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4733,9 +4729,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5658,13 +5652,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -5674,6 +5668,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -5683,8 +5678,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -6082,13 +6076,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -6098,6 +6092,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -6107,8 +6102,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.17-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.17-2022-11-28/security-advisories.json index f29b95fa4fd5..db9a800cebb0 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.17-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.17-2022-11-28/teams.json b/src/rest/data/ghes-3.17-2022-11-28/teams.json index 9108251fbb4d..362a362a3f21 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.17-2022-11-28/teams.json @@ -10074,12 +10074,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10626,12 +10626,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/actions.json b/src/rest/data/ghes-3.18-2022-11-28/actions.json index 2df66c9d0f35..7621a922cded 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.18-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -25221,11 +25218,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -25837,8 +25834,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -34619,16 +34615,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5577,9 +5561,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5606,8 +5588,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5835,8 +5816,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5848,8 +5828,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5885,8 +5864,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5895,11 +5873,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -96,12 +81,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -111,11 +96,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -143,8 +128,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -154,9 +137,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -1798,23 +1779,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "runtime_risk", @@ -1842,12 +1807,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1857,11 +1822,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1889,8 +1854,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -1900,9 +1863,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -3553,22 +3514,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -3588,12 +3534,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3603,11 +3549,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3653,8 +3599,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3664,9 +3608,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } } ], @@ -4763,9 +4705,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5713,9 +5653,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6717,7 +6655,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -6728,8 +6665,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json index b139e58353c8..98905a327444 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.18-2022-11-28/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3396,8 +3395,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -3679,8 +3677,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -3865,8 +3862,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4041,8 +4037,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4271,8 +4266,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4343,8 +4337,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5906,8 +5899,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -8518,11 +8510,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8532,12 +8524,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -9149,11 +9141,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -9162,12 +9154,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -9923,11 +9915,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -9937,12 +9929,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -10782,11 +10774,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -10795,12 +10787,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -11201,10 +11193,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -11214,11 +11203,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -11228,11 +11213,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -11489,8 +11470,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11767,8 +11747,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11785,10 +11764,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -11797,10 +11773,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -12014,8 +11987,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12032,10 +12004,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -12475,8 +12444,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12493,10 +12461,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -12945,8 +12910,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12963,10 +12927,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -13036,8 +12997,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13064,11 +13024,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -13078,11 +13034,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -13414,8 +13366,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14139,8 +14090,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14452,8 +14402,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -14924,8 +14873,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15804,8 +15752,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15892,8 +15839,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -15931,11 +15877,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15944,12 +15890,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.18-2022-11-28/gists.json b/src/rest/data/ghes-3.18-2022-11-28/gists.json index 4abb5a5a2caf..ff8c5a40de1e 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.18-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/issues.json b/src/rest/data/ghes-3.18-2022-11-28/issues.json index d03bf983bdc1..fa41e455636f 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.18-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34580,8 +34572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -55121,12 +55112,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -55136,11 +55127,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -55150,11 +55141,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/licenses.json b/src/rest/data/ghes-3.18-2022-11-28/licenses.json index 76a2ccd26985..fa45ffcbcb96 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.18-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/migrations.json b/src/rest/data/ghes-3.18-2022-11-28/migrations.json index 7a51e65cdadf..49a804e808b2 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.18-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -3956,9 +3954,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4630,9 +4626,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5555,13 +5549,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -5571,6 +5565,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -5579,8 +5574,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -5974,13 +5968,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -5990,6 +5984,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -5998,8 +5993,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -6844,13 +6838,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -6860,6 +6854,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -6869,8 +6864,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -7268,13 +7262,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7284,6 +7278,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -7293,8 +7288,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.18-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.18-2022-11-28/security-advisories.json index 74663be124a2..a73096c0a20e 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.18-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.18-2022-11-28/teams.json b/src/rest/data/ghes-3.18-2022-11-28/teams.json index ab456c576a23..bedb003c2ac3 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.18-2022-11-28/teams.json @@ -10084,12 +10084,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10636,12 +10636,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/actions.json b/src/rest/data/ghes-3.19-2022-11-28/actions.json index 09b6b0bd56fa..3d72e45b799e 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.19-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -28224,11 +28221,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -28840,8 +28837,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37622,16 +37618,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5583,9 +5567,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5612,8 +5594,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5841,8 +5822,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5854,8 +5834,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5891,8 +5870,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5901,11 +5879,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -1381,12 +1366,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1396,11 +1381,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1428,8 +1413,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -1439,9 +1422,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -3083,23 +3064,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "runtime_risk", @@ -3127,12 +3092,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3142,11 +3107,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3174,8 +3139,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -3185,9 +3148,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } }, { @@ -4838,22 +4799,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -4873,12 +4819,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -4888,11 +4834,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4938,8 +4884,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -4949,9 +4893,7 @@ "in": "query", "required": false, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 + "type": "integer" } } ], @@ -6048,9 +5990,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6998,9 +6938,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -8002,7 +7940,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -8013,8 +7950,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json index d1a7ca5a59c8..8da7fa095b2e 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.19-2022-11-28/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2965,13 +2964,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2981,6 +2980,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2990,8 +2990,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -3827,8 +3826,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4110,8 +4108,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4296,8 +4293,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4472,8 +4468,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4702,8 +4697,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4774,8 +4768,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -6337,8 +6330,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -8949,11 +8941,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8963,12 +8955,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -9434,8 +9426,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -9559,8 +9550,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10179,8 +10169,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11201,8 +11190,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11283,8 +11271,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11418,8 +11405,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12445,8 +12431,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12576,8 +12561,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12711,8 +12695,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -12966,11 +12949,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -12979,12 +12962,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -13740,11 +13723,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13754,12 +13737,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -14599,11 +14582,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14612,12 +14595,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -15326,10 +15309,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -15339,11 +15319,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -15353,11 +15329,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -15614,8 +15586,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15892,8 +15863,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15910,10 +15880,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -15922,10 +15889,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -16139,8 +16103,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -16157,10 +16120,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -16600,8 +16560,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16618,10 +16577,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17070,8 +17026,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17088,10 +17043,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17161,8 +17113,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17189,11 +17140,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -17203,11 +17150,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -17539,8 +17482,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -18264,8 +18206,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18577,8 +18518,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19049,8 +18989,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19929,8 +19868,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20017,8 +19955,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -20056,11 +19993,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -20069,12 +20006,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.19-2022-11-28/gists.json b/src/rest/data/ghes-3.19-2022-11-28/gists.json index 39b083b583ac..c1ec32985a62 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.19-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/issues.json b/src/rest/data/ghes-3.19-2022-11-28/issues.json index a932fcacd5ee..866e5eb914e8 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.19-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34580,8 +34572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -67454,12 +67445,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -67469,11 +67460,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -67483,11 +67474,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/licenses.json b/src/rest/data/ghes-3.19-2022-11-28/licenses.json index 5843386a39e2..c6851cf7e270 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.19-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/migrations.json b/src/rest/data/ghes-3.19-2022-11-28/migrations.json index de1dcd2a6bef..a445dcdd5be4 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.19-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5565,9 +5563,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6633,9 +6629,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -7558,13 +7552,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7574,6 +7568,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -7582,8 +7577,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -7977,13 +7971,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7993,6 +7987,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8001,8 +7996,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8847,13 +8841,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8863,6 +8857,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8872,8 +8867,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9265,13 +9259,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9281,6 +9275,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9290,8 +9285,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9689,13 +9683,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9705,6 +9699,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9714,8 +9709,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.19-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.19-2022-11-28/security-advisories.json index 2af77805006c..a4a126c81b71 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.19-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.19-2022-11-28/teams.json b/src/rest/data/ghes-3.19-2022-11-28/teams.json index 709263ee8e5e..fd91c718fbd7 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.19-2022-11-28/teams.json @@ -10084,12 +10084,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10636,12 +10636,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/actions.json b/src/rest/data/ghes-3.20-2022-11-28/actions.json index 6a209c612d32..c60481ac0508 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.20-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -28224,11 +28221,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -28840,8 +28837,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37622,16 +37618,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5582,9 +5566,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5611,8 +5593,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5840,8 +5821,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5853,8 +5833,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5890,8 +5869,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5900,11 +5878,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -1802,12 +1787,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1817,11 +1802,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3481,23 +3466,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "runtime_risk", @@ -3525,12 +3494,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3540,11 +3509,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5213,22 +5182,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "scope", @@ -5248,12 +5202,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -5263,11 +5217,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6391,9 +6345,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7341,9 +7293,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -8345,7 +8295,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -8356,8 +8305,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json index 836d52e980ec..535ac8ac082f 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.20-2022-11-28/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2965,13 +2964,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2981,6 +2980,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2990,8 +2990,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -3828,8 +3827,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4113,8 +4111,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4300,8 +4297,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4477,8 +4473,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4709,8 +4704,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4781,8 +4775,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -6344,8 +6337,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -8956,11 +8948,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -8970,12 +8962,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -9441,8 +9433,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -9566,8 +9557,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10203,8 +10193,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11242,8 +11231,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11324,8 +11312,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -11459,8 +11446,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12503,8 +12489,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12634,8 +12619,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12769,8 +12753,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -13024,11 +13007,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13037,12 +13020,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -13798,11 +13781,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -13812,12 +13795,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -14657,11 +14640,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14670,12 +14653,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -15384,10 +15367,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -15397,11 +15377,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -15411,11 +15387,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -15672,8 +15644,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -15950,8 +15921,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -15968,10 +15938,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -15980,10 +15947,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -16197,8 +16161,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -16215,10 +16178,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -16658,8 +16618,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -16676,10 +16635,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17128,8 +17084,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17146,10 +17101,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17219,8 +17171,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17247,11 +17198,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -17261,11 +17208,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -17597,8 +17540,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -18322,8 +18264,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18635,8 +18576,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19107,8 +19047,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19987,8 +19926,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -20075,8 +20013,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -20114,11 +20051,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -20127,12 +20064,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.20-2022-11-28/enterprise-teams.json b/src/rest/data/ghes-3.20-2022-11-28/enterprise-teams.json index 91b67f1f3711..0ffc5e2da906 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/enterprise-teams.json +++ b/src/rest/data/ghes-3.20-2022-11-28/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1739,8 +1730,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1904,8 +1894,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2064,8 +2053,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2141,8 +2129,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2297,8 +2284,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2449,8 +2435,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2523,8 +2508,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghes-3.20-2022-11-28/gists.json b/src/rest/data/ghes-3.20-2022-11-28/gists.json index b2cd2583d305..b15d084226c5 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.20-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/issues.json b/src/rest/data/ghes-3.20-2022-11-28/issues.json index f9b3353010fb..6cd277ffeeda 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.20-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34580,8 +34572,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -67454,12 +67445,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -67469,11 +67460,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -67483,11 +67474,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/licenses.json b/src/rest/data/ghes-3.20-2022-11-28/licenses.json index 3313a904c01d..1b8319343dad 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.20-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/migrations.json b/src/rest/data/ghes-3.20-2022-11-28/migrations.json index 985ce26aee44..e69996a7ca86 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.20-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -33597,20 +33584,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -40760,20 +40721,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -66714,20 +66662,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/ghes-3.20-2022-11-28/pulls.json b/src/rest/data/ghes-3.20-2022-11-28/pulls.json index 46ae3a5df852..6b80fd4ce716 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.20-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.20-2022-11-28/reactions.json b/src/rest/data/ghes-3.20-2022-11-28/reactions.json index 189956c70d44..a67ae2cea5b4 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.20-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.20-2022-11-28/repos.json b/src/rest/data/ghes-3.20-2022-11-28/repos.json index 8dad843ca07f..ec1119a289fd 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.20-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" + ] } }, { @@ -14817,8 +14817,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18554,9 +18553,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19326,12 +19322,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19351,14 +19347,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19368,13 +19364,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19414,8 +19410,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19424,8 +19419,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -23937,12 +23931,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -23952,13 +23946,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25282,13 +25276,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25298,6 +25292,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25307,8 +25302,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -30116,13 +30110,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34622,13 +34616,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34645,13 +34639,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -36717,10 +36711,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/search.json b/src/rest/data/ghes-3.20-2022-11-28/search.json index 17c1553dc253..d3e30ef09b1f 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/search.json +++ b/src/rest/data/ghes-3.20-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.20-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json index db9fd1f308ad..1dc627206536 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.20-2022-11-28/secret-scanning.json @@ -64,11 +64,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -78,11 +78,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1711,11 +1711,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1725,11 +1725,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3380,11 +3380,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3394,11 +3394,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4577,9 +4577,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5592,9 +5590,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6685,9 +6681,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -7610,13 +7604,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7626,6 +7620,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -7634,8 +7629,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8029,13 +8023,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8045,6 +8039,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8053,8 +8048,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8899,13 +8893,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8915,6 +8909,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8924,8 +8919,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9317,13 +9311,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9333,6 +9327,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9342,8 +9337,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9741,13 +9735,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9757,6 +9751,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9766,8 +9761,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.20-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.20-2022-11-28/security-advisories.json index f82660c2469e..3c10817cc924 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.20-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.20-2022-11-28/teams.json b/src/rest/data/ghes-3.20-2022-11-28/teams.json index a1564349886c..47d2c955faf9 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.20-2022-11-28/teams.json @@ -10084,12 +10084,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10636,12 +10636,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/actions.json b/src/rest/data/ghes-3.21-2022-11-28/actions.json index 2815fa34fbe9..40c8c6983b2e 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/actions.json +++ b/src/rest/data/ghes-3.21-2022-11-28/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -28386,11 +28383,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -29002,8 +28999,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -38108,16 +38104,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5582,9 +5566,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5611,8 +5593,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5840,8 +5821,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5853,8 +5833,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5890,8 +5869,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5900,11 +5878,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -1818,12 +1803,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1833,11 +1818,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3653,23 +3638,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3705,12 +3674,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3720,11 +3689,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5549,22 +5518,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -5592,12 +5546,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -5607,11 +5561,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6883,9 +6837,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7985,9 +7937,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -9116,7 +9066,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -9127,8 +9076,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json b/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json index e23d6f4158e6..1299d65ccd8d 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json +++ b/src/rest/data/ghes-3.21-2022-11-28/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2965,13 +2964,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2981,6 +2980,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2990,8 +2990,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -3832,8 +3831,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4126,8 +4124,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4317,8 +4314,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4498,8 +4494,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4739,8 +4734,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4811,8 +4805,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5008,8 +5001,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5308,8 +5300,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5495,8 +5486,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5741,8 +5731,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5817,8 +5806,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5977,8 +5965,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6091,8 +6078,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -7654,8 +7640,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -10266,11 +10251,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -10280,12 +10265,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -10751,8 +10736,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10876,8 +10860,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11513,8 +11496,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12552,8 +12534,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12634,8 +12615,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12769,8 +12749,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13813,8 +13792,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13944,8 +13922,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14079,8 +14056,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14334,11 +14310,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14347,12 +14323,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -15108,11 +15084,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15122,12 +15098,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -15967,11 +15943,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15980,12 +15956,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -16694,10 +16670,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -16707,11 +16680,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -16721,11 +16690,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -16982,8 +16947,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17260,8 +17224,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17278,10 +17241,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17290,10 +17250,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -17507,8 +17464,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17525,10 +17481,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17968,8 +17921,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17986,10 +17938,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -18438,8 +18387,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18456,10 +18404,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -18529,8 +18474,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18557,11 +18501,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -18571,11 +18511,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -18907,8 +18843,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19632,8 +19567,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19945,8 +19879,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -20417,8 +20350,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21297,8 +21229,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21385,8 +21316,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -21424,11 +21354,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21437,12 +21367,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.21-2022-11-28/enterprise-teams.json b/src/rest/data/ghes-3.21-2022-11-28/enterprise-teams.json index ea3453174f27..bd866d453837 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/enterprise-teams.json +++ b/src/rest/data/ghes-3.21-2022-11-28/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1739,8 +1730,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1904,8 +1894,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2064,8 +2053,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2141,8 +2129,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2297,8 +2284,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2449,8 +2435,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2523,8 +2508,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghes-3.21-2022-11-28/gists.json b/src/rest/data/ghes-3.21-2022-11-28/gists.json index 9a1e2fcd1a5f..2484d3bf197f 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/gists.json +++ b/src/rest/data/ghes-3.21-2022-11-28/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1649,8 +1648,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -2130,8 +2128,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -10284,8 +10281,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -11338,8 +11334,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11614,8 +11609,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -11896,8 +11890,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/issues.json b/src/rest/data/ghes-3.21-2022-11-28/issues.json index f0a312d77412..f6624e63e978 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/issues.json +++ b/src/rest/data/ghes-3.21-2022-11-28/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3290,6 +3289,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3297,8 +3297,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3308,12 +3307,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3341,12 +3340,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3356,11 +3355,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3369,8 +3368,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6551,12 +6549,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6620,12 +6618,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6635,11 +6633,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6648,8 +6646,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -22313,6 +22310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22320,8 +22318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -22331,12 +22328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -22355,12 +22352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -22370,11 +22367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -22383,8 +22380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32087,11 +32083,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -32113,8 +32109,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -32920,8 +32915,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33702,8 +33696,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34494,8 +34487,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34571,8 +34563,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35387,8 +35378,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -35490,8 +35480,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -68364,12 +68353,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -68379,11 +68368,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -68393,11 +68382,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/licenses.json b/src/rest/data/ghes-3.21-2022-11-28/licenses.json index 0b94af01f834..662daa939bf9 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/licenses.json +++ b/src/rest/data/ghes-3.21-2022-11-28/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/migrations.json b/src/rest/data/ghes-3.21-2022-11-28/migrations.json index 03eebf43a7e5..449b6bbab631 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/migrations.json +++ b/src/rest/data/ghes-3.21-2022-11-28/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -33597,20 +33584,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -40760,20 +40721,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -66714,20 +66662,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/ghes-3.21-2022-11-28/pulls.json b/src/rest/data/ghes-3.21-2022-11-28/pulls.json index 6b1f064c24e1..83d9a6dc81a1 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/pulls.json +++ b/src/rest/data/ghes-3.21-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.21-2022-11-28/reactions.json b/src/rest/data/ghes-3.21-2022-11-28/reactions.json index 75fd0fe6a723..2e5e60d242b8 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/reactions.json +++ b/src/rest/data/ghes-3.21-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.21-2022-11-28/repos.json b/src/rest/data/ghes-3.21-2022-11-28/repos.json index 3a834d5d3e7e..89f78dfaeb24 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/repos.json +++ b/src/rest/data/ghes-3.21-2022-11-28/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -12128,11 +12128,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15150,8 +15150,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18941,9 +18940,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19767,12 +19763,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19792,14 +19788,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19809,13 +19805,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19855,8 +19851,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19865,8 +19860,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24432,12 +24426,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24447,13 +24441,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25834,13 +25828,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25850,6 +25844,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25859,8 +25854,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -30668,13 +30662,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -35282,13 +35276,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -35305,13 +35299,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -37377,10 +37371,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/search.json b/src/rest/data/ghes-3.21-2022-11-28/search.json index e94ca6cc68ad..8ab151215dc4 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/search.json +++ b/src/rest/data/ghes-3.21-2022-11-28/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1036,11 +1036,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2339,11 +2339,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8130,11 +8130,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8376,11 +8376,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9584,11 +9584,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json b/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json index 06b5b7d2d765..c7e001f6a853 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json +++ b/src/rest/data/ghes-3.21-2022-11-28/secret-scanning.json @@ -64,11 +64,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -78,11 +78,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1711,11 +1711,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1725,11 +1725,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3380,11 +3380,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3394,11 +3394,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4577,9 +4577,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5592,9 +5590,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6685,9 +6681,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -7610,13 +7604,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7626,6 +7620,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -7634,8 +7629,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8023,13 +8017,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8039,6 +8033,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8047,8 +8042,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8442,13 +8436,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8458,6 +8452,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8466,8 +8461,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9312,13 +9306,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9328,6 +9322,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9337,8 +9332,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9730,13 +9724,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9746,6 +9740,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9755,8 +9750,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10154,13 +10148,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10170,6 +10164,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10179,8 +10174,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2022-11-28/security-advisories.json b/src/rest/data/ghes-3.21-2022-11-28/security-advisories.json index f6afc13659df..534e60199634 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/security-advisories.json +++ b/src/rest/data/ghes-3.21-2022-11-28/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.21-2022-11-28/teams.json b/src/rest/data/ghes-3.21-2022-11-28/teams.json index d232030deaf2..df7b66d86504 100644 --- a/src/rest/data/ghes-3.21-2022-11-28/teams.json +++ b/src/rest/data/ghes-3.21-2022-11-28/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -10229,12 +10229,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10781,12 +10781,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/actions.json b/src/rest/data/ghes-3.21-2026-03-10/actions.json index ae4b03fed28e..6d53536e3487 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/actions.json +++ b/src/rest/data/ghes-3.21-2026-03-10/actions.json @@ -647,11 +647,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -913,8 +913,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -987,8 +986,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1057,8 +1055,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1581,12 +1578,12 @@ "required": false, "schema": { "type": "string", + "default": "last_accessed_at", "enum": [ "created_at", "last_accessed_at", "size_in_bytes" - ], - "default": "last_accessed_at" + ] } }, { @@ -1596,11 +1593,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } } ], @@ -28249,11 +28246,11 @@ "required": false, "schema": { "type": "string", + "default": "latest", "enum": [ "latest", "all" - ], - "default": "latest" + ] } }, { @@ -28865,8 +28862,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -37953,16 +37949,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", @@ -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//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -2984,11 +2974,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3016,11 +3006,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3030,7 +3020,6 @@ "required": false, "schema": { "type": "string", - "description": "State of a code scanning alert.", "enum": [ "open", "closed", @@ -3046,7 +3035,6 @@ "required": false, "schema": { "type": "string", - "description": "Severity of a code scanning alert.", "enum": [ "critical", "high", @@ -3919,9 +3907,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -4729,9 +4715,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -5582,9 +5566,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5611,8 +5593,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5840,8 +5821,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The name of the tool used to generate the code scanning analysis." + "type": "string" } }, { @@ -5853,8 +5833,7 @@ "type": [ "string", "null" - ], - "description": "The GUID of the tool used to generate the code scanning analysis, if provided in the uploaded SARIF data." + ] } }, { @@ -5890,8 +5869,7 @@ "description": "

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.

", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } }, { @@ -5900,11 +5878,7 @@ "description": "

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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -1818,12 +1803,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -1833,11 +1818,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3625,23 +3610,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch", - "deployment" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -3677,12 +3646,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -3692,11 +3661,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -5493,22 +5462,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.

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "patch" - ] - } - } - ] - } + "schema": {} }, { "name": "assignee", @@ -5536,12 +5490,12 @@ "description": "

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.

", "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "epss_percentage" - ], - "default": "created" + ] } }, { @@ -5551,11 +5505,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6799,9 +6753,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -7873,9 +7825,7 @@ "description": "

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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -8976,7 +8926,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, @@ -8987,8 +8936,6 @@ "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } } diff --git a/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json b/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json index c3646fadf54d..bf464ef070c1 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json +++ b/src/rest/data/ghes-3.21-2026-03-10/enterprise-admin.json @@ -1714,8 +1714,7 @@ { "\"Enterprise administration\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2965,13 +2964,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -2981,6 +2980,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -2990,8 +2990,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -3832,8 +3831,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4126,8 +4124,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4317,8 +4314,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4498,8 +4494,7 @@ { "\"Custom properties\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -4739,8 +4734,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -4811,8 +4805,7 @@ { "\"Custom properties\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -5008,8 +5001,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5308,8 +5300,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5495,8 +5486,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -5741,8 +5731,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5817,8 +5806,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "admin" } - ], - "disabledForPatV2": true + ] } }, { @@ -5977,8 +5965,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -6091,8 +6078,7 @@ { "\"Enterprise custom properties for organizations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -7654,8 +7640,7 @@ { "\"Enterprise administration\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -10266,11 +10251,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -10280,12 +10265,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -10751,8 +10736,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -10876,8 +10860,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -11513,8 +11496,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -12552,8 +12534,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12634,8 +12615,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -12769,8 +12749,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -13813,8 +13792,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -13944,8 +13922,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -14079,8 +14056,7 @@ { "\"Enterprise organization installations\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -14334,11 +14310,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14347,12 +14323,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -15108,11 +15084,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15122,12 +15098,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] } } ], @@ -15967,11 +15943,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -15980,12 +15956,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "name" - ], - "default": "created" + ] }, "description": "" } @@ -16694,10 +16670,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -16707,11 +16680,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -16721,11 +16690,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -16982,8 +16947,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17260,8 +17224,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17278,10 +17241,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17290,10 +17250,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "examples": [ - "members" - ] + "type": "string" } }, { @@ -17507,8 +17464,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -17525,10 +17481,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -17968,8 +17921,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -17986,10 +17938,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -18438,8 +18387,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18456,10 +18404,7 @@ "in": "path", "required": true, "schema": { - "type": "string", - "examples": [ - "7fce0092-d52e-4f76-b727-3955bd72c939" - ] + "type": "string" } }, { @@ -18529,8 +18474,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18557,11 +18501,7 @@ "required": false, "schema": { "type": "integer", - "default": 1, - "format": "int32", - "examples": [ - 1 - ] + "default": 1 } }, { @@ -18571,11 +18511,7 @@ "required": false, "schema": { "type": "integer", - "default": 30, - "format": "int32", - "examples": [ - 1 - ] + "default": 30 } }, { @@ -18907,8 +18843,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -19632,8 +19567,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -19945,8 +19879,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -20417,8 +20350,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21297,8 +21229,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -21385,8 +21316,7 @@ { "\"Enterprise SCIM\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -21424,11 +21354,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21437,12 +21367,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "accessed" - ], - "default": "created" + ] }, "description": "" }, diff --git a/src/rest/data/ghes-3.21-2026-03-10/enterprise-teams.json b/src/rest/data/ghes-3.21-2026-03-10/enterprise-teams.json index ea3453174f27..bd866d453837 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/enterprise-teams.json +++ b/src/rest/data/ghes-3.21-2026-03-10/enterprise-teams.json @@ -168,8 +168,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -366,8 +365,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -525,8 +523,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -736,8 +733,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -804,8 +800,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1025,8 +1020,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -1240,8 +1234,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1455,8 +1448,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1661,8 +1653,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -1739,8 +1730,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ], @@ -1904,8 +1894,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2064,8 +2053,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2141,8 +2129,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2297,8 +2284,7 @@ { "\"Enterprise teams\" enterprise permissions": "read" } - ], - "disabledForPatV2": true + ] } }, { @@ -2449,8 +2435,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -2523,8 +2508,7 @@ { "\"Enterprise teams\" enterprise permissions": "write" } - ], - "disabledForPatV2": true + ] } } ] diff --git a/src/rest/data/ghes-3.21-2026-03-10/gists.json b/src/rest/data/ghes-3.21-2026-03-10/gists.json index 2884f54fd9ad..f50274b75429 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/gists.json +++ b/src/rest/data/ghes-3.21-2026-03-10/gists.json @@ -14,8 +14,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1114,8 +1113,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -1468,8 +1466,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6919,8 +6916,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -7846,8 +7842,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8122,8 +8117,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -8404,8 +8398,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/issues.json b/src/rest/data/ghes-3.21-2026-03-10/issues.json index 74380e1d7ca3..19b80995d359 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/issues.json +++ b/src/rest/data/ghes-3.21-2026-03-10/issues.json @@ -15,6 +15,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -22,8 +23,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -33,12 +33,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -57,12 +57,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -72,11 +72,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -85,8 +85,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -3160,6 +3159,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -3167,8 +3167,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -3178,12 +3177,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -3211,12 +3210,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -3226,11 +3225,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3239,8 +3238,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -6291,12 +6289,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -6360,12 +6358,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -6375,11 +6373,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -6388,8 +6386,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -21313,6 +21310,7 @@ "required": false, "schema": { "type": "string", + "default": "assigned", "enum": [ "assigned", "created", @@ -21320,8 +21318,7 @@ "subscribed", "repos", "all" - ], - "default": "assigned" + ] } }, { @@ -21331,12 +21328,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -21355,12 +21352,12 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "comments" - ], - "default": "created" + ] } }, { @@ -21370,11 +21367,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -21383,8 +21380,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -30657,11 +30653,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -30683,8 +30679,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -31490,8 +31485,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -32272,8 +32266,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33064,8 +33057,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33141,8 +33133,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -33957,8 +33948,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -34060,8 +34050,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -66114,12 +66103,12 @@ "required": false, "schema": { "type": "string", + "default": "open", "enum": [ "open", "closed", "all" - ], - "default": "open" + ] } }, { @@ -66129,11 +66118,11 @@ "required": false, "schema": { "type": "string", + "default": "due_on", "enum": [ "due_on", "completeness" - ], - "default": "due_on" + ] } }, { @@ -66143,11 +66132,11 @@ "required": false, "schema": { "type": "string", + "default": "asc", "enum": [ "asc", "desc" - ], - "default": "asc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/licenses.json b/src/rest/data/ghes-3.21-2026-03-10/licenses.json index 0b94af01f834..662daa939bf9 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/licenses.json +++ b/src/rest/data/ghes-3.21-2026-03-10/licenses.json @@ -364,8 +364,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "description": "The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`,\n`refs/heads/` or simply ``." + "type": "string" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/migrations.json b/src/rest/data/ghes-3.21-2026-03-10/migrations.json index eb1a2fca5e67..2bb94c967c95 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/migrations.json +++ b/src/rest/data/ghes-3.21-2026-03-10/migrations.json @@ -40,17 +40,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" } } ], @@ -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.

\n

Example: 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": {} }, { "name": "before", @@ -32445,20 +32432,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", @@ -39608,20 +39569,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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": [], @@ -64410,20 +64358,7 @@ "description": "

Limit results to specific fields, by their IDs. If not specified, the title field will be returned.

\n

Example: 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.

\n

Example: 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": {} }, { "name": "before", diff --git a/src/rest/data/ghes-3.21-2026-03-10/pulls.json b/src/rest/data/ghes-3.21-2026-03-10/pulls.json index 8e6eaa0cf2ff..634170415b2d 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/pulls.json +++ b/src/rest/data/ghes-3.21-2026-03-10/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" + ] } }, { @@ -15260,8 +15260,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -15796,8 +15795,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16314,8 +16312,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16838,8 +16835,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], @@ -16926,11 +16922,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -16952,8 +16948,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -18095,8 +18090,7 @@ "in": "path", "required": true, "schema": { - "type": "integer", - "format": "int64" + "type": "integer" } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/reactions.json b/src/rest/data/ghes-3.21-2026-03-10/reactions.json index 75fd0fe6a723..2e5e60d242b8 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/reactions.json +++ b/src/rest/data/ghes-3.21-2026-03-10/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.21-2026-03-10/repos.json b/src/rest/data/ghes-3.21-2026-03-10/repos.json index c2f1caa959f6..3cb971582246 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/repos.json +++ b/src/rest/data/ghes-3.21-2026-03-10/repos.json @@ -42,13 +42,13 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "created" + ] } }, { @@ -11964,11 +11964,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -14982,8 +14982,7 @@ { "\"Administration\" repository permissions": "write" } - ], - "disabledForPatV2": true + ] } }, { @@ -18718,9 +18717,6 @@ "enum": [ "all", "public" - ], - "examples": [ - "all" ] } } @@ -19541,12 +19537,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "public", "private" - ], - "default": "all" + ] } }, { @@ -19566,14 +19562,14 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "owner", "public", "private", "member" - ], - "default": "all" + ] } }, { @@ -19583,13 +19579,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -19629,8 +19625,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } }, { @@ -19639,8 +19634,7 @@ "in": "query", "required": false, "schema": { - "type": "string", - "format": "date-time" + "type": "string" } } ], @@ -24139,12 +24133,12 @@ "required": false, "schema": { "type": "string", + "default": "owner", "enum": [ "all", "owner", "member" - ], - "default": "owner" + ] } }, { @@ -24154,13 +24148,13 @@ "required": false, "schema": { "type": "string", + "default": "full_name", "enum": [ "created", "updated", "pushed", "full_name" - ], - "default": "full_name" + ] } }, { @@ -25538,13 +25532,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -25554,6 +25548,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -25563,8 +25558,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -30372,13 +30366,13 @@ "required": false, "schema": { "type": "string", + "default": "newest", "enum": [ "newest", "oldest", "stargazers", "watchers" - ], - "default": "newest" + ] } }, { @@ -34928,13 +34922,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -34951,13 +34945,13 @@ "in": "query", "schema": { "type": "string", + "default": "all", "enum": [ "pass", "fail", "bypass", "all" - ], - "default": "all" + ] } }, { @@ -37023,10 +37017,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/search.json b/src/rest/data/ghes-3.21-2026-03-10/search.json index 0467244f3692..52543fc9a95f 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/search.json +++ b/src/rest/data/ghes-3.21-2026-03-10/search.json @@ -36,11 +36,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -1033,11 +1033,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -2333,11 +2333,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -7853,11 +7853,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -8099,11 +8099,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { @@ -9307,11 +9307,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "desc", "asc" - ], - "default": "desc" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json b/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json index 06b5b7d2d765..c7e001f6a853 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json +++ b/src/rest/data/ghes-3.21-2026-03-10/secret-scanning.json @@ -64,11 +64,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -78,11 +78,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -1711,11 +1711,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -1725,11 +1725,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -3380,11 +3380,11 @@ "required": false, "schema": { "type": "string", + "default": "created", "enum": [ "created", "updated" - ], - "default": "created" + ] } }, { @@ -3394,11 +3394,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -4577,9 +4577,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -5592,9 +5590,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } } ], @@ -6685,9 +6681,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.

", "required": true, "schema": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true + "type": "integer" } }, { @@ -7610,13 +7604,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -7626,6 +7620,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -7634,8 +7629,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8023,13 +8017,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8039,6 +8033,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8047,8 +8042,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -8442,13 +8436,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -8458,6 +8452,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -8466,8 +8461,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9312,13 +9306,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9328,6 +9322,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9337,8 +9332,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -9730,13 +9724,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -9746,6 +9740,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -9755,8 +9750,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { @@ -10154,13 +10148,13 @@ "required": false, "schema": { "type": "string", + "default": "day", "enum": [ "hour", "day", "week", "month" - ], - "default": "day" + ] } }, { @@ -10170,6 +10164,7 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "completed", "cancelled", @@ -10179,8 +10174,7 @@ "denied", "open", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/data/ghes-3.21-2026-03-10/security-advisories.json b/src/rest/data/ghes-3.21-2026-03-10/security-advisories.json index e8c24dbc4cb1..23da20d229f5 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/security-advisories.json +++ b/src/rest/data/ghes-3.21-2026-03-10/security-advisories.json @@ -22,12 +22,12 @@ "description": "

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.

\n

Example: cwes=79,284,22 or cwes[]=79&cwes[]=284&cwes[]=22

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "is_withdrawn", @@ -107,20 +94,7 @@ "name": "affects", "in": "query", "description": "

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.

\n

Example: affects=package1,package2@1.0.0,package3@2.0.0 or affects[]=package1&affects[]=package2@1.0.0

", - "schema": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "maxItems": 1000, - "items": { - "type": "string" - } - } - ] - } + "schema": {} }, { "name": "published", @@ -187,11 +161,11 @@ "required": false, "schema": { "type": "string", + "default": "desc", "enum": [ "asc", "desc" - ], - "default": "desc" + ] } }, { @@ -200,8 +174,6 @@ "in": "query", "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, "default": 30 } }, @@ -212,13 +184,13 @@ "required": false, "schema": { "type": "string", + "default": "published", "enum": [ "updated", "published", "epss_percentage", "epss_percentile" - ], - "default": "published" + ] } } ], diff --git a/src/rest/data/ghes-3.21-2026-03-10/teams.json b/src/rest/data/ghes-3.21-2026-03-10/teams.json index dc5523984a18..c9d494e30ed1 100644 --- a/src/rest/data/ghes-3.21-2026-03-10/teams.json +++ b/src/rest/data/ghes-3.21-2026-03-10/teams.json @@ -42,12 +42,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "all", "enterprise", "organization" - ], - "default": "all" + ] } } ], @@ -10199,12 +10199,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { @@ -10751,12 +10751,12 @@ "required": false, "schema": { "type": "string", + "default": "all", "enum": [ "member", "maintainer", "all" - ], - "default": "all" + ] } }, { diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 795f8ed8f228..42d472ef863f 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -35,9 +35,6 @@ "ghec": "ghec" }, "frontmatterDefaults": { - "topics": [ - "API" - ], "autogenerated": "rest", "allowTitleToDifferFromFilename": true }, @@ -53,5 +50,5 @@ ] } }, - "sha": "f5d3342150d3748e7307c81639635706f8338a12" + "sha": "133d385dfbee06825d4d4136a82dd2b4c79813ba" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 567faa8cf880..e64d771223ba 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "f5d3342150d3748e7307c81639635706f8338a12" + "sha": "133d385dfbee06825d4d4136a82dd2b4c79813ba" } \ No newline at end of file