config: deprecating legacy REST api (#4845)

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>

Mirrored from https://github.com/envoyproxy/envoy @ 0a542015aa26b334c00ef15de34a7e4a81fe9677
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 3715ff0ba7
commit 2eb9411eb8
  1. 2
      envoy/api/v2/core/config_source.proto

@ -19,7 +19,7 @@ message ApiConfigSource {
// APIs may be fetched via either REST or gRPC.
enum ApiType {
// REST-JSON legacy corresponds to the v1 API.
REST_LEGACY = 0;
REST_LEGACY = 0 [deprecated = true];
// REST-JSON v2 API. The `canonical JSON encoding
// <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ for
// the v2 protos is used.

Loading…
Cancel
Save