Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1repos~1{owner}~1{repo}~1environments~1{environment_name}~1deployment_protection_rules~1apps/get #5630

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/custom-deployment-protection-rule-apps/value

Schema and example mismatch.

Here's a snippet

>   1: [ {
    2:   "total_count" : 2
    3: }, {
    4:   "available_custom_deployment_protection_rule_integrations" : [ {
    5:     "id" : 1,

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec
  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17
  • ghes-3.18

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions