mirror of
https://github.com/aljazceru/ark.git
synced 2026-02-23 03:44:20 +01:00
Scaffolding
This commit is contained in:
23
api-spec/protobuf/arkd/v1/service.proto
Executable file
23
api-spec/protobuf/arkd/v1/service.proto
Executable file
@@ -0,0 +1,23 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package arkd.v1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
// TODO: Edit this proto to something more meaningful for your application.
|
||||
service Service {
|
||||
rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/hello"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message GetVersionRequest {
|
||||
string name = 1;
|
||||
}
|
||||
message GetVersionResponse {
|
||||
string message = 1;
|
||||
}
|
||||
|
||||
8
api-spec/protobuf/buf.lock
Normal file
8
api-spec/protobuf/buf.lock
Normal file
@@ -0,0 +1,8 @@
|
||||
# Generated by buf. DO NOT EDIT.
|
||||
version: v1
|
||||
deps:
|
||||
- remote: buf.build
|
||||
owner: googleapis
|
||||
repository: googleapis
|
||||
commit: 28151c0d0a1641bf938a7672c500e01d
|
||||
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
|
||||
12
api-spec/protobuf/buf.yaml
Executable file
12
api-spec/protobuf/buf.yaml
Executable file
@@ -0,0 +1,12 @@
|
||||
version: v1
|
||||
name: buf.build/ark-network/ark
|
||||
deps:
|
||||
- buf.build/googleapis/googleapis
|
||||
breaking:
|
||||
use:
|
||||
- FILE
|
||||
ignore_unstable_packages: true
|
||||
lint:
|
||||
use:
|
||||
- DEFAULT
|
||||
|
||||
Reference in New Issue
Block a user