Skip to content

Schema arrays not used in examples #19

@shodgson

Description

@shodgson

Expected result:
For

  "paths": {
    "/foo": {
      "post": {
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": { "$ref": "#/components/schemas/bar" }
             }

The example body should be an array

Actual result:
The example body is the bar object

Failing test case prepared: test spec and openapi definition

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions