Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Swagger_Parser does not handle type: string format: byte #62

Description

@bradencross

Swagger_parser does not return the proper format or mock data for the following definition property:

"exampleFile": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "format": "byte"
                    }
                }

Instead it returns an array of strings ie. ["string", "string2"]

I believe that if it instead returned ["8-bit representable integer","8-bit representable integer"], would be a good solution, where 8-bit representable integer = 1-255.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions