Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1classrooms~1{classroom_id}/get #5864

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the JSON ref for the example

#/components/examples/classroom/value

Schema and example mismatch. archived should be a boolean. The String representation has a trailing comma.

Here's a snippet

    1: {
>   2:   "archived" : "false,",
    3:   "id" : 1296269,
    4:   "name" : "Programming Elixir",
    5:   "organization" : {
    6:     "id" : 1,

Affected Schema Refs

#/paths/~1classrooms~1{classroom_id}/get

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