pulumi/tests/testdata/codegen/schema/bad-methods-6.json

35 lines
773 B
JSON

{
"name": "xyz",
"version": "0.0.1",
"resources": {
"xyz:index:Foo": {
"methods": {
"bar": "xyz:index:Foo/bar"
},
"properties": {
"bar": {
"type": "string"
}
}
}
},
"functions": {
"xyz:index:Foo/bar": {
"inputs": {
"properties": {
"__self__": {
"$ref": "#/resources/xyz:index:Foo"
}
}
},
"outputs": {
"properties": {
"someValue": {
"type": "string"
}
}
}
}
}
}