Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1orgs~1{org}~1code-security~1configurations~1defaults/get #5591

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/code-security-default-configurations/value

The field security_configuration_id doesn't exist in the schema, but exists in the example.

Here's a snippet

   14:     "secret_scanning_push_protection" : "enabled",
   15:     "secret_scanning_delegated_bypass" : "enabled",
   16:     "secret_scanning_delegated_bypass_options" : {
   17:       "reviewers" : [ {
>  18:         "security_configuration_id" : 1325,
   19:         "reviewer_id" : 5678,
   20:         "reviewer_type" : "TEAM"
   21:       } ]
   22:     },

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • ghes-3.15

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

      SYSTEM_READY >> ...MS