Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1repos~1{owner}~1{repo}~1code-scanning~1codeql~1variant-analyses~1{codeql_variant_analysis_id}/get #5623

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/code-scanning-variant-analysis/value

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

Here's a snippet

  107:     "access_mismatch_repos" : {
  108:       "repository_count" : 2,
  109:       "repositories" : [ {
  110:         "id" : 1,
> 111:         "node_id" : "MDQ6VXNlcjE=",
  112:         "name" : "octo-repo1",
  113:         "full_name" : "octo-org/octo-repo1",
  114:         "private" : false
  115:       }, {

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec

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