Skip to content

"required" parameter to be list  #111

@nandishaivalli

Description

@nandishaivalli

From openAPI-3 spec of spotify.
The paths./playlists/{playlist_id}/images.put.requestBody.content.image/jpeg.schema.required path is True.
"requestBody": {
"content": {
"image/jpeg": {
"schema": {
"example": ... ,
"format": "byte",
"type": "string",
"required": true,
"description": "Base64 encoded JPEG image data, maximum payload size is 256 KB."
}
}
}

},

But the module asks it to be a list type. openapi3.errors.SpecError: Expected paths./playlists/{playlist_id}/images.put.requestBody.content.image/jpeg.schema.required to be one of [<class 'list'>], got <class 'bool'>

How to solve this?

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