Removing placeholder files and creating the error proto.

pull/13/head
Todd Knight 6 years ago
parent 83f578e743
commit 3f285cd5d0

@ -10,6 +10,7 @@ lint:
- protoc-gen-swagger
- google
ignore_only:
# These api enums break these lint checks in order to appear nice in swagger.
ENUM_VALUE_PREFIX:
- controller/api/view/v1/view.proto
ENUM_ZERO_VALUE_SUFFIX:

@ -1,12 +0,0 @@
syntax = "proto3";
package controller.api.resource.v1;
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api/resource;resource";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
// A Placeholder does nothing but establishes directory organization.
message Placeholder {
}

@ -1,16 +0,0 @@
syntax = "proto3";
package controller.api.v1;
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/api;api";
import "protoc-gen-swagger/options/annotations.proto";
import "controller/api/resource/v1/placeholder.proto";
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = {
};
// Placeholder Service contains nothing but organization details.
service PlaceholderService {
}

@ -1,11 +0,0 @@
syntax = "proto3";
package controller.storage.v1;
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/storage;storage";
import "google/protobuf/timestamp.proto";
// A placeholder is empty to capture the directory structure for storage focused protos.
message Placeholder {
}
Loading…
Cancel
Save