Commit 06bffb9
authored
pass optype to setResourceReadMany from SetResource (#630)
Description of changes:
Currently, if the resource output shape is a list, code-gen triggers the
readmany output generator.
When doing so, it does not pass the operationType, which causes it to
lose some of its functionality, which in this case was the ability to
ignore setting resources for a desired method.
With these changes, even sdk outputs that have a list as output type
will be able to configure Create/Update/Delete set config in
generator.yaml
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent a3d580f commit 06bffb9
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
512 | 514 | | |
513 | 515 | | |
514 | 516 | | |
| |||
660 | 662 | | |
661 | 663 | | |
662 | 664 | | |
663 | | - | |
| 665 | + | |
664 | 666 | | |
665 | 667 | | |
666 | 668 | | |
| |||
0 commit comments