mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-25 00:33:20 +08:00
add OpenAPI docs for RPC endpoints, update /v2/pox return based on PR feedback
This commit is contained in:
19
docs/rpc/api/core-node/get-contract-source.schema.json
Normal file
19
docs/rpc/api/core-node/get-contract-source.schema.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"description": "GET request to get contract source",
|
||||
"title": "ContractSourceResponse",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["source", "publish_height", "proof"],
|
||||
"properties": {
|
||||
"source": {
|
||||
"type": "string"
|
||||
},
|
||||
"publish_height": {
|
||||
"type": "integer"
|
||||
},
|
||||
"proof": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user