Bumping k8s dependencies to 1.13
This commit is contained in:
49
vendor/github.com/googleapis/gnostic/plugins/plugin.proto
generated
vendored
49
vendor/github.com/googleapis/gnostic/plugins/plugin.proto
generated
vendored
@@ -22,10 +22,7 @@
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
import "github.com/googleapis/gnostic/OpenAPIv2/OpenAPIv2.proto";
|
||||
import "github.com/googleapis/gnostic/OpenAPIv3/OpenAPIv3.proto";
|
||||
import "github.com/googleapis/gnostic/discovery/discovery.proto";
|
||||
import "github.com/googleapis/gnostic/surface/surface.proto";
|
||||
import "google/protobuf/any.proto";
|
||||
|
||||
package gnostic.plugin.v1;
|
||||
|
||||
@@ -85,17 +82,36 @@ message Request {
|
||||
// The version number of gnostic.
|
||||
Version compiler_version = 4;
|
||||
|
||||
// OpenAPI v2 API representation
|
||||
openapi.v2.Document openapi2 = 5;
|
||||
// API models
|
||||
repeated google.protobuf.Any models = 5;
|
||||
}
|
||||
|
||||
// OpenAPI v3 API representation
|
||||
openapi.v3.Document openapi3 = 6;
|
||||
// Plugins can return messages to be collated and reported by gnostic.
|
||||
message Message {
|
||||
|
||||
// Discovery API representation
|
||||
discovery.v1.Document discovery = 7;
|
||||
|
||||
// generated code surface representation
|
||||
surface.v1.Model surface = 8;
|
||||
enum Level {
|
||||
UNKNOWN = 0;
|
||||
INFO = 1;
|
||||
WARNING = 2;
|
||||
ERROR = 3;
|
||||
FATAL = 4;
|
||||
}
|
||||
|
||||
// message severity
|
||||
Level level = 1;
|
||||
|
||||
// a unique message identifier
|
||||
string code = 2;
|
||||
|
||||
// message text
|
||||
string text = 3;
|
||||
|
||||
// an associated key path in an API description
|
||||
repeated string keys = 4;
|
||||
}
|
||||
|
||||
message Messages {
|
||||
repeated Message messages = 1;
|
||||
}
|
||||
|
||||
// The plugin writes an encoded Response to stdout.
|
||||
@@ -106,14 +122,17 @@ message Response {
|
||||
// even if it reports an error in this way.
|
||||
//
|
||||
// This should be used to indicate errors which prevent the plugin from
|
||||
// operating as intended. Errors which indicate a problem in openapic
|
||||
// operating as intended. Errors which indicate a problem in gnostic
|
||||
// itself -- such as the input Document being unparseable -- should be
|
||||
// reported by writing a message to stderr and exiting with a non-zero
|
||||
// status code.
|
||||
repeated string errors = 1;
|
||||
|
||||
// file output, each file will be written by openapic to an appropriate location.
|
||||
// file output, each file will be written by gnostic to an appropriate location.
|
||||
repeated File files = 2;
|
||||
|
||||
// informational messages to be collected and reported by gnostic.
|
||||
repeated Message messages = 3;
|
||||
}
|
||||
|
||||
// File describes a file generated by a plugin.
|
||||
|
Reference in New Issue
Block a user