pulumi/tests/testdata/codegen/recursive-1.0.0.json

44 lines
1.1 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json",
"name": "recursive",
"version": "1.0.0",
"//": [
"The recursive:index:getRecursiveType function returns an object of which one field is a recursive type"
],
"functions": {
"recursive:index:getRecursiveType": {
"inputs": {
"properties": {
"name": {
"description": "The name of the recursive type",
"type": "string"
}
}
},
"outputs": {
"type": "object",
"properties": {
"recursiveType": {
"$ref": "#/types/recursive:index:RecursiveType"
}
}
}
}
},
"types": {
"recursive:index:RecursiveType": {
"type": "object",
"properties": {
"name": {
"description": "The name of the recursive type",
"type": "string"
},
"recursiveType": {
"description": "The recursive type",
"$ref": "#/types/recursive:index:RecursiveType"
}
}
}
}
}