Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1assignments~1{assignment_id}/get #5480

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/classroom-assignment/value

Boolean in example is a string with a comma at the end.

Here's a snippet

    2:   "accepted" : 100,
    3:   "classroom" : {
    4:     "id" : 1296269,
    5:     "name" : "Programming Elixir",
>   6:     "archived" : "false,",
    7:     "url" : "https://classroom.github.com/classrooms/1-programming-elixir"
    8:   },
    9:   "deadline" : "2011-01-26T19:06:43Z",
   10:   "editor" : "codespaces",

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