google / google/gnostic

Add streaming support

Open
#212 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.3k
Forks
279
PR merge metrics
No merged PRs in 30d

Description

Any plans to add streaming support? For instance if the OpenAPI definition had a response type schema component of type array could the automatically produce a proto RPC that used stream?

E.g. given an OpenAPI definition fragment:

components:
schemas:
FooBar:
type: array
items:
$ref: '#/components/schemas/Bar'

Produces a proto RPC call like:

rpc GetFooBar ( GettFooBarParameters ) returns ( stream FooBar ) {
option (google.api.http) = { post:"/foobar" body:"fooBar" };
}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.