pulumi/pkg/codegen/internal/test/testdata/schema/good-methods-1.json
Ian Wahbe 7f90e12886
Validate Name, Version and Enviroment (#7896)
* Validate Name, Version and Enviroment

For the full path:
Package.Name
Package.Version
Package.Property.Default

* Update tests

* Update CHANGELOG_PENDING.md

* Add more versions to tests

* Add another "Version" field

* Even more "version" tags

* One more "version" tag added

* Update test results from codegen

* Fix py codegen tests

* Fix doc test

* Remove `version` validation

* Unformat json files

* Fail only on errors
2021-09-17 12:12:22 -07:00

32 lines
746 B
JSON

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