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

[REQ][python] Option to treat custom content-types as plain text #244

@nponsard

Description

@nponsard

Is your feature request related to a problem? Please describe.

I want to set the content type as application/x-pem-file in a request but an exception is raised: NotImplementedError('Serialization has not yet been implemented for application/x-pem-file').

No serialization is needed, this is just a text file.

Describe the solution you'd like

Add an option in the endpoint functions to disable serialization when calling a endpoint. Something like skip_serialization=True.

Describe alternatives you've considered

Doing the request manually using ApiClient.rest_client.request(), this is kinda against the idea of an API code generator.

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