Skip to content

Response body as a single field #217

@BrianHicks

Description

@BrianHicks

Part of the API I'm covering needs to be able to return just bytes. Right now I have something similar to the following:

message Content {
  string content = 1;
}

for RPC, that's just fine; the client can unwrap it. However, over HTTP I don't want a wrapping JSON, I only want that content field. Is there a way to specify this in the gateway configuration?

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