Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found new managed modules references #551

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
@@ -0,0 +1,33 @@
// Copyright 2020 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.


syntax = "proto3";

package linter;

// The Go package name.
option go_package = ".;linter";

message Message{
string type = 1;
string message = 2;
string suggestion = 3;
repeated string keys = 4;
int32 line = 5;
}

message Linter{
repeated Message messages = 1;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
// Copyright 2020 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// THIS FILE IS AUTOMATICALLY GENERATED.

syntax = "proto3";

package discovery.v1;

import "google/protobuf/any.proto";

// This option lets the proto compiler generate Java code inside the package
// name (see below) instead of inside an outer class. It creates a simpler
// developer experience by reducing one-level of name nesting and be
// consistent with most programming languages that don't support outer classes.
option java_multiple_files = true;

// The Java outer classname should be the filename in UpperCamelCase. This
// class is only used to hold proto descriptor, so developers don't need to
// work with it directly.
option java_outer_classname = "OpenAPIProto";

// The Java package name must be proto package name with proper prefix.
option java_package = "org.discovery_v1";

// A reasonable prefix for the Objective-C symbols generated from the package.
// It should at a minimum be 3 characters long, all uppercase, and convention
// is to use an abbreviation of the package name. Something short, but
// hopefully unique enough to not conflict with things that may come along in
// the future. 'GPB' is reserved for the protocol buffer implementation itself.
option objc_class_prefix = "OAS";

// The Go package name.
option go_package = "./discovery;discovery_v1";

message Annotations {
repeated string required = 1;
}

message Any {
google.protobuf.Any value = 1;
string yaml = 2;
}

message Auth {
Oauth2 oauth2 = 1;
}

message Document {
string kind = 1;
string discovery_version = 2;
string id = 3;
string name = 4;
string version = 5;
string revision = 6;
string title = 7;
string description = 8;
Icons icons = 9;
string documentation_link = 10;
repeated string labels = 11;
string protocol = 12;
string base_url = 13;
string base_path = 14;
string root_url = 15;
string service_path = 16;
string batch_path = 17;
Parameters parameters = 18;
Auth auth = 19;
repeated string features = 20;
Schemas schemas = 21;
Methods methods = 22;
Resources resources = 23;
string etag = 24;
string owner_domain = 25;
string owner_name = 26;
bool version_module = 27;
string canonical_name = 28;
bool fully_encode_reserved_expansion = 29;
string package_path = 30;
string mtls_root_url = 31;
}

// Icons that represent the API.
message Icons {
string x16 = 1;
string x32 = 2;
}

message MediaUpload {
repeated string accept = 1;
string max_size = 2;
Protocols protocols = 3;
bool supports_subscription = 4;
}

message Method {
string id = 1;
string path = 2;
string http_method = 3;
string description = 4;
Parameters parameters = 5;
repeated string parameter_order = 6;
Request request = 7;
Response response = 8;
repeated string scopes = 9;
bool supports_media_download = 10;
bool supports_media_upload = 11;
bool use_media_download_service = 12;
MediaUpload media_upload = 13;
bool supports_subscription = 14;
string flat_path = 15;
bool etag_required = 16;
string streaming_type = 17;
}

message Methods {
repeated NamedMethod additional_properties = 1;
}

// Automatically-generated message used to represent maps of Method as ordered (name,value) pairs.
message NamedMethod {
// Map key
string name = 1;
// Mapped value
Method value = 2;
}

// Automatically-generated message used to represent maps of Parameter as ordered (name,value) pairs.
message NamedParameter {
// Map key
string name = 1;
// Mapped value
Parameter value = 2;
}

// Automatically-generated message used to represent maps of Resource as ordered (name,value) pairs.
message NamedResource {
// Map key
string name = 1;
// Mapped value
Resource value = 2;
}

// Automatically-generated message used to represent maps of Schema as ordered (name,value) pairs.
message NamedSchema {
// Map key
string name = 1;
// Mapped value
Schema value = 2;
}

// Automatically-generated message used to represent maps of Scope as ordered (name,value) pairs.
message NamedScope {
// Map key
string name = 1;
// Mapped value
Scope value = 2;
}

message Oauth2 {
Scopes scopes = 1;
}

message Parameter {
string id = 1;
string type = 2;
string _ref = 3;
string description = 4;
string default = 5;
bool required = 6;
string format = 7;
string pattern = 8;
string minimum = 9;
string maximum = 10;
repeated string enum = 11;
repeated string enum_descriptions = 12;
bool repeated = 13;
string location = 14;
Schemas properties = 15;
Schema additional_properties = 16;
Schema items = 17;
Annotations annotations = 18;
}

message Parameters {
repeated NamedParameter additional_properties = 1;
}

message Protocols {
Simple simple = 1;
Resumable resumable = 2;
}

message Request {
string _ref = 1;
string parameter_name = 2;
}

message Resource {
Methods methods = 1;
Resources resources = 2;
}

message Resources {
repeated NamedResource additional_properties = 1;
}

message Response {
string _ref = 1;
}

message Resumable {
bool multipart = 1;
string path = 2;
}

message Schema {
string id = 1;
string type = 2;
string description = 3;
string default = 4;
bool required = 5;
string format = 6;
string pattern = 7;
string minimum = 8;
string maximum = 9;
repeated string enum = 10;
repeated string enum_descriptions = 11;
bool repeated = 12;
string location = 13;
Schemas properties = 14;
Schema additional_properties = 15;
Schema items = 16;
string _ref = 17;
Annotations annotations = 18;
bool read_only = 19;
}

message Schemas {
repeated NamedSchema additional_properties = 1;
}

message Scope {
string description = 1;
}

message Scopes {
repeated NamedScope additional_properties = 1;
}

message Simple {
bool multipart = 1;
string path = 2;
}

message StringArray {
repeated string value = 1;
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
shake256:fb37b86bab5c89e43b9e213db5de0a96a83aa5a22e684f302db0a29632e1bb474075b2a29f01ce9df67f7101bd4a8cf4b888facf26b786aa151a598de8d4ad84 LICENSE
shake256:c427f56ea8168ba479b5dc148d496c3375726c045776188b9c21e531bf1737c2d79d76c15da2585987aed8f943d14c80551d674ea3c3af2c3b741483575ff05f buf.md
shake256:53393423e8e0cc8aa82204229e934f0e0a17f2ca5c0635a2a5d805c93a88729e844f8ffa175cea64feb1ebf9f036404ed3c926482199207d0b9a2dd714e319e7 buf.yaml
shake256:eda842b212ac137fef372a1a032b30f16887384dbffe8e2cbb784c7e94b30b60ca40149f9cae333315ce947e463a6242733bdd5987c68585427b5a3634f87c75 discovery/discovery.proto
shake256:84e87d0f5fd0798628f14db9b79b211e79f702c46148cf375f38c3380f54a8fb0c4d76a9aaff774cb46c1d37251f640a5e160c374e4f60163e81372dc9fc02c2 extensions/extension.proto
shake256:cdbb6234d2875a05f177be261664c2ff9f2253c560654f698f52d8a6a63b286b582732a068d186449e9147a5f17373df3caf6ce1252972fcbc370c80f5404ed2 metrics/complexity.proto
shake256:01168753e7939857d9bd9ca17b85df5aedc0bad324d0e7cc1c4fc572a5e5432f1f21a4ff0dd24cd19f80a9f725ead5a06f4f49719ab02389a6ea6e7be197ae53 metrics/lint/linter.proto
shake256:88037b474189def5b340ee7f4cecd9ea7658eae29b907330199d3f288c3ea9e45eb2dffff7340649b08cc6fe81e527b65131f9468ba3b866e598997884e7a0f6 metrics/vocabulary.proto
shake256:0d3efc194f113ff0a7ae8f12b16603109945fc0ddeec3b69925ef8412bf7b28ca198bbfeef1dbaf45c3e7c9b2736c8ad917a40423e294898ecebc149aaa5d40c openapiv2/OpenAPIv2.proto
shake256:fb820496050502cde6cbd33340b27f8e7a72bf926275ec59bfb93b9e088f8417c42874f987b4bb52066e93d0320ee07e8670b2ec088c586c08d04539ffde1036 openapiv3/OpenAPIv3.proto
shake256:ed2803dc35ba60268cf8b4119461bc236341c8d70a42c8068c03fd3c7bd33da1a0f23beb0d55df095e8954a0039e11767d3a6dc531809fc211f897357438a52d plugins/plugin.proto
shake256:614f70d6ec9736d3469a7f88547efa68886cd3052fa796e47da4bcf83ebda9825d68744e59ee7f0423a4b62f8d1a56ae33963c18355eb46956da08233bf828bd surface/surface.proto
Loading