Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1enterprises~1{enterprise}~1teams/post #5491

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/enterprise-teams-items/value

Schema and example mismatch. The post endpoint expects one element. The Example has a list.

Here's a snippet

>   1: [ {
    2:   "id" : 1,
    3:   "name" : "Justice League",
    4:   "description" : "A great team.",
    5:   "slug" : "justice-league",

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions