mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-24 12:27:18 +00:00
1d2fc60ba7
* generated * add ignore Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
49 lines
1.7 KiB
Protocol Buffer
49 lines
1.7 KiB
Protocol Buffer
// Copyright 2020 Prysmatic Labs.
|
|
//
|
|
// 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 is an optional proto that provides some gRPC gateway metadata for
|
|
// generating the OpenAPIv2(swagger) header.
|
|
syntax = "proto3";
|
|
|
|
package ethereum.eth.v1alpha1;
|
|
|
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
|
|
|
option go_package = "github.com/prysmaticlabs/prysm/proto/eth/v1alpha1;eth";
|
|
|
|
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
|
|
info: {
|
|
title: "Ethereum Serenity APIs";
|
|
version: "v1alpha1";
|
|
license: {
|
|
name: "Licenced under Apache 2.0";
|
|
url: "http://www.apache.org/licenses/LICENSE-2.0";
|
|
};
|
|
description: "{{ index . "description" }}";
|
|
};
|
|
external_docs: {
|
|
url: "https://github.com/ethereum/eth2.0-specs";
|
|
description: "Ethereum 2.0 Specification on Github";
|
|
};
|
|
host: "api.prylabs.net",
|
|
schemes: HTTPS;
|
|
schemes: WSS;
|
|
consumes: "application/json";
|
|
consumes: "application/grpc-web-text";
|
|
consumes: "application/grpc-web-json";
|
|
produces: "application/json";
|
|
produces: "application/grpc-web-text";
|
|
produces: "application/grpc-web-json";
|
|
};
|