Files
stacks-blockchain-api/docs/api/core-node/get-contract-interface.schema.json
Rafael Cárdenas 666b8a60fb chore: fix openapi schema validation errors, clean up type definitions (#1170)
* fix: openapi lint validator

* fix: balances schema

* fix: add title to all entities

* fix: some additionalProperties and duplicate names

* fix: remove additional properties for rosetta

* fix: rosetta tests

* style: remove empty description
2022-05-13 15:25:11 -05:00

45 lines
1.0 KiB
JSON

{
"description": "GET request to get contract interface",
"title": "ContractInterfaceResponse",
"type": "object",
"additionalProperties": false,
"required": ["functions", "variables", "maps", "fungible_tokens", "non_fungible_tokens"],
"properties": {
"functions": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of defined methods"
},
"variables": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of defined variables"
},
"maps": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of defined data-maps"
},
"fungible_tokens": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of fungible tokens in the contract"
},
"non_fungible_tokens": {
"type": "array",
"items": {
"type": "object"
},
"description": "List of non-fungible tokens in the contract"
}
}
}