Skip to content

Commit

Permalink
Update v2alpha1.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed Dec 11, 2024
1 parent 77814f7 commit 1a0d118
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 38 deletions.
83 changes: 54 additions & 29 deletions release/go/spacemesh/v2alpha1/v2alpha1.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions release/openapi/swagger/src/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@
"https"
],
"swagger": "2.0",
"externalDocs": {
"description": "Join our Discord",
"url": "https://discord.com/invite/yVhQ7rC"
},
"info": {
"title": "Spacemesh API",
"description": "Welcome to the Spacemesh API documentation. You can find out more about Spacemesh at https://spacemesh.io and dive deeper into the protocol by visiting the docs at https://docs.spacemesh.io. Feel free to ask about or discuss anything related to the Spacemesh API in our [Discord server](https://discord.com/invite/yVhQ7rC).",
"title": "Spacemesh API",
"termsOfService": "https://spacemesh.io/terms/",
"contact": {
"email": "[email protected]"
},
"termsOfService": "https://spacemesh.io/terms/",
"license": {
"name": "MIT License",
"url": "https://github.com/spacemeshos/go-spacemesh/blob/develop/LICENSE"
Expand Down Expand Up @@ -1414,5 +1410,9 @@
{
"name": "RewardService"
}
]
],
"externalDocs": {
"description": "Join our Discord",
"url": "https://discord.com/invite/yVhQ7rC"
}
}
9 changes: 7 additions & 2 deletions spacemesh/v2alpha1/v2alpha1.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,21 @@ import "protoc-gen-openapiv2/options/annotations.proto";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Spacemesh API",
description: "Welcome to the Spacemesh API documentation. You can find out more about Spacemesh at https://spacemesh.io and dive deeper into the protocol by visiting the docs at https://docs.spacemesh.io. Feel free to ask about or discuss anything related to the Spacemesh API in our [Discord server](https://discord.com/invite/yVhQ7rC)."
version: "v2alpha1",
contact: {
name: "Spacemesh",
url: "https://spacemesh.io/",
email: "[email protected]",
},
license: {
name: "MIT License",
url: "https://github.com/spacemeshos/go-spacemesh/blob/develop/LICENSE",
},
terms_of_service: "https://spacemesh.io/terms/",
},
external_docs: {
description: "Join our Discord",
url: "https://discord.com/invite/yVhQ7rC",
}
schemes: HTTPS,
consumes: "application/json",
produces: "application/json",
Expand Down

0 comments on commit 1a0d118

Please sign in to comment.