Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Add sample_type field to permit in-code samples. #2996

Merged
merged 5 commits into from
Nov 1, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ message SampleSpecProto {
// Definition of how to handle the RPC response, specified as an
// ordered list of statements.
repeated ResponseStatementProto response = 9;

// A list of the types samples to generate from this
// configuration. The elements can be any of "standalone" and
// "incode/XXX", where XXX is an arbitrary run of alphanumeric
// characters (these are used to lexicographically sort multiple
// in-code samples for the same RPC when including them in the
// library source code). If not specified or empty, defaults to
// ["standalone"]
repeated string sample_type = 10;
software-dov marked this conversation as resolved.
Show resolved Hide resolved
}

message RequestFieldProto {
Expand Down