mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
some fixes for bazel v1 (#3754)
This commit is contained in:
parent
1dbb67af81
commit
9e6b4d1f29
@ -1014,7 +1014,7 @@ go_repository(
|
||||
|
||||
go_repository(
|
||||
name = "grpc_ecosystem_grpc_gateway",
|
||||
commit = "740ef2ee80c49ed4a272e8c3b54ebf352109f572",
|
||||
commit = "e652ba06e9067ef41c199af59b9c6c67724850d4",
|
||||
importpath = "github.com/grpc-ecosystem/grpc-gateway",
|
||||
)
|
||||
|
||||
|
@ -10,9 +10,6 @@ go_library(
|
||||
"main.go",
|
||||
"usage.go",
|
||||
],
|
||||
data = [
|
||||
"//proto/beacon/rpc/v1:swagger",
|
||||
],
|
||||
importpath = "github.com/prysmaticlabs/prysm/beacon-chain",
|
||||
visibility = ["//beacon-chain:__subpackages__"],
|
||||
deps = [
|
||||
|
@ -59,9 +59,3 @@ proto_library(
|
||||
"@grpc_ecosystem_grpc_gateway//protoc-gen-swagger/options:options_proto",
|
||||
],
|
||||
)
|
||||
|
||||
protoc_gen_swagger(
|
||||
name = "swagger",
|
||||
proto = ":v1_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
@ -6,36 +6,6 @@ import "google/protobuf/empty.proto";
|
||||
import "proto/eth/v1alpha1/beacon_block.proto";
|
||||
import "proto/eth/v1alpha1/attestation.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "protoc-gen-swagger/options/annotations.proto";
|
||||
|
||||
option (grpc.gateway.protoc_gen_swagger.options.openapiv2_swagger) = {
|
||||
info: {
|
||||
title: "Prysm";
|
||||
version: "0.0.0";
|
||||
contact: {
|
||||
name: "Prysmatic Labs";
|
||||
url: "https://prysmaticlabs.com";
|
||||
email: "team@prysmaticlabs.com";
|
||||
};
|
||||
license: {
|
||||
name: "GNU General Public License v3.0";
|
||||
url: "https://github.com/prysmaticlabs/prysm/blob/master/LICENSE.md";
|
||||
};
|
||||
description: "JSON RPC services provided by Prysm."
|
||||
};
|
||||
external_docs: {
|
||||
url: "https://github.com/prysmaticlabs/prysm";
|
||||
description : "Prysm Github";
|
||||
};
|
||||
host: "api.prylabs.net",
|
||||
schemes: HTTPS;
|
||||
consumes: "application/json";
|
||||
consumes: "application/grpc-web-text";
|
||||
consumes: "application/grpc-web-json";
|
||||
produces: "application/json";
|
||||
produces: "application/grpc-web-text";
|
||||
consumes: "application/grpc-web-json";
|
||||
};
|
||||
|
||||
service AttesterService {
|
||||
rpc RequestAttestation(AttestationRequest) returns (ethereum.eth.v1alpha1.AttestationData);
|
||||
|
Loading…
Reference in New Issue
Block a user