github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/schema/bad-methods-6.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              },
     9              "properties": {
    10                  "bar": {
    11                      "type": "string"
    12                  }
    13              }
    14          }
    15      },
    16      "functions": {
    17          "xyz:index:Foo/bar": {
    18              "inputs": {
    19                  "properties": {
    20                      "__self__": {
    21                          "$ref": "#/resources/xyz:index:Foo"
    22                      }
    23                  }
    24              },
    25              "outputs": {
    26                  "properties": {
    27                      "someValue": {
    28                          "type": "string"
    29                      }
    30                  }
    31              }
    32          }
    33      }
    34  }