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

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

Open
bradencross opened this issue Aug 10, 2018 · 0 comments
Open

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

bradencross opened this issue Aug 10, 2018 · 0 comments

Comments

@bradencross
Copy link

bradencross commented Aug 10, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant