-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -1414,5 +1410,9 @@ | |
{ | ||
"name": "RewardService" | ||
} | ||
] | ||
], | ||
"externalDocs": { | ||
"description": "Join our Discord", | ||
"url": "https://discord.com/invite/yVhQ7rC" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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", | ||
|