Skip to content

Array of integers detected as a String? #45

@jp-tosca

Description

@jp-tosca

I was validating my document with doctor and I am getting the following warning on the console:

"manifestStoredResourceId" : {
            "type" : "array",
            "description" : "The list of storage id for the manifests of the external tool",
            "example" : [ 1, 2, 3 ],
            "items" : {
              "type" : "integer",
              "format" : "int64"
            }
          }

`got string, want integer

Location: components.schemas['ExternalToolDTO'].properties['versions'].items.properties['manifestStoredResourceId'].example
Rule: oas3-valid-schema-example`

Is this a bug or I am doing something wrong on my side?

openapi.json

Metadata

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