Skip to content

Content type octet-stream #116

Closed
@pawamoy

Description

@pawamoy

Describe the bug
I'm getting this parsing error:

MULTIPLE ERRORS WHILE PARSING:
ERROR parsing GET /api/v1/datasetversion/{dataSetVersionID}/read_data within datasetversion. Endpoint will not be generated.
{'content': {'application/octet-stream': {'schema': {'format': 'stream',
                                                     'type': 'string'}}},
 'description': 'The method returns the stream of the file associated to the '
                'version of a dataset'}
Unsupported content_type {'application/octet-stream': {'schema': {'type': 'string', 'format': 'stream'}}}

To Reproduce
I'm not sure I can share the spec here, I will try to clean it up to give you a MRE.

Expected behavior
openapi-python-client supports the octet-stream content-type.

OpenAPI Spec File
Same remark as above: I'm not sure I can share the spec here, I will try to clean it up to give you a MRE.

Desktop (please complete the following information):

  • OS: RedHat 7
  • Python Version: 3.7.8
  • openapi-python-client version 0.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions