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

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