Skip to content

Swagger schema issue #142

Open
Open
@ngouy

Description

Per the swagger file, in the definitions:

"Group": {
      "description": "A Group.",
      "type": "object",
      "properties": {
         //...
       },
      "required": [
        "app_url",
        "description",
        "archived",
        "entity_type",
        "color",
        "num_stories_started",
        "mention_name",
        "name",
        "color_key",
        "num_stories",
        "num_epics_started",
        "id",
        "display_icon",
        "member_ids",
        "story_workflow_ids",
        "workflow_ids"
      ]
    }

But then when I query the API, some "required" attributes are nil. color for example is not required, because most (to not say all) of the groups have an color_key, which I guess replaces the color

I don't know when Creating a new group, but by definition, on how open-api generator build a client on top of the swagger files, it errors out because no color is present (API returns null), but the attribute is "required"

I'ts only one issue I found. I will keep posting here if I found others

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions