Skip to content

Commit

Permalink
Update the json schema of pulumi schema to reflect that outputs can a…
Browse files Browse the repository at this point in the history
…lso be TypeSpec
  • Loading branch information
Zaid-Ajaj committed Jan 10, 2023
1 parent fb04316 commit 5e834a9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/codegen/schema/pulumi.json
Expand Up @@ -529,8 +529,11 @@
}
},
"outputs": {
"description": "The bag of output values for the function, if any.",
"$ref": "#/$defs/objectTypeSpec"
"description": "Specifies the return type of the function definition.",
"oneOf": [
{ "$ref": "#/$defs/objectTypeSpec" },
{ "$ref": "#/$defs/typeSpec" }
]
},
"deprecationMessage": {
"description": "Indicates whether the function is deprecated",
Expand Down

0 comments on commit 5e834a9

Please sign in to comment.