github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/schema/bad-methods-2.json (about)

     1  {
     2      "name": "xyz",
     3      "version": "0.0.1",
     4      "resources": {
     5          "xyz:index:Foo": {
     6              "methods": {
     7                  "bar": "xyz:index:Foo/bar",
     8                  "baz": "xyz:index:Foo/bar"
     9              }
    10          }
    11      },
    12      "functions": {
    13          "xyz:index:Foo/bar": {
    14              "inputs": {
    15                  "properties": {
    16                      "__self__": {
    17                          "$ref": "#/resources/xyz:index:Foo"
    18                      }
    19                  }
    20              },
    21              "outputs": {
    22                  "properties": {
    23                      "someValue": {
    24                          "type": "string"
    25                      }
    26                  }
    27              }
    28          }
    29      }
    30  }