|
25 | 25 | "operationId": "Provider_GetAvailableStacks", |
26 | 26 | "parameters": [ |
27 | 27 | { |
28 | | - "name": "osTypeSelected", |
29 | | - "in": "query", |
30 | | - "type": "string", |
31 | | - "enum": [ |
32 | | - "Windows", |
33 | | - "Linux", |
34 | | - "WindowsFunctions", |
35 | | - "LinuxFunctions", |
36 | | - "All" |
37 | | - ] |
| 28 | + "$ref": "#/parameters/osTypeSelectedParameter" |
38 | 29 | }, |
39 | 30 | { |
40 | 31 | "$ref": "#/parameters/apiVersionParameter" |
|
69 | 60 | "operationId": "Provider_GetFunctionAppStacks", |
70 | 61 | "parameters": [ |
71 | 62 | { |
72 | | - "name": "stackOsType", |
73 | | - "in": "query", |
74 | | - "description": "Stack OS Type", |
75 | | - "type": "string", |
76 | | - "enum": [ |
77 | | - "Windows", |
78 | | - "Linux", |
79 | | - "All" |
80 | | - ] |
| 63 | + "$ref": "#/parameters/stackOsTypeParameter" |
81 | 64 | }, |
82 | 65 | { |
83 | 66 | "$ref": "#/parameters/apiVersionParameter" |
|
124 | 107 | "type": "string" |
125 | 108 | }, |
126 | 109 | { |
127 | | - "name": "stackOsType", |
128 | | - "in": "query", |
129 | | - "description": "Stack OS Type", |
130 | | - "type": "string", |
131 | | - "enum": [ |
132 | | - "Windows", |
133 | | - "Linux", |
134 | | - "All" |
135 | | - ] |
| 110 | + "$ref": "#/parameters/stackOsTypeParameter" |
136 | 111 | }, |
137 | 112 | { |
138 | 113 | "$ref": "#/parameters/apiVersionParameter" |
|
179 | 154 | "type": "string" |
180 | 155 | }, |
181 | 156 | { |
182 | | - "name": "stackOsType", |
183 | | - "in": "query", |
184 | | - "description": "Stack OS Type", |
185 | | - "type": "string", |
186 | | - "enum": [ |
187 | | - "Windows", |
188 | | - "Linux", |
189 | | - "All" |
190 | | - ] |
| 157 | + "$ref": "#/parameters/stackOsTypeParameter" |
191 | 158 | }, |
192 | 159 | { |
193 | 160 | "$ref": "#/parameters/apiVersionParameter" |
|
264 | 231 | "operationId": "Provider_GetWebAppStacks", |
265 | 232 | "parameters": [ |
266 | 233 | { |
267 | | - "name": "stackOsType", |
268 | | - "in": "query", |
269 | | - "description": "Stack OS Type", |
270 | | - "type": "string", |
271 | | - "enum": [ |
272 | | - "Windows", |
273 | | - "Linux", |
274 | | - "All" |
275 | | - ] |
| 234 | + "$ref": "#/parameters/stackOsTypeParameter" |
276 | 235 | }, |
277 | 236 | { |
278 | 237 | "$ref": "#/parameters/apiVersionParameter" |
|
312 | 271 | "operationId": "Provider_GetAvailableStacksOnPrem", |
313 | 272 | "parameters": [ |
314 | 273 | { |
315 | | - "name": "osTypeSelected", |
316 | | - "in": "query", |
317 | | - "type": "string", |
318 | | - "enum": [ |
319 | | - "Windows", |
320 | | - "Linux", |
321 | | - "WindowsFunctions", |
322 | | - "LinuxFunctions", |
323 | | - "All" |
324 | | - ] |
| 274 | + "$ref": "#/parameters/osTypeSelectedParameter" |
325 | 275 | }, |
326 | 276 | { |
327 | 277 | "$ref": "#/parameters/subscriptionIdParameter" |
|
1118 | 1068 | "description": "API Version", |
1119 | 1069 | "required": true, |
1120 | 1070 | "type": "string" |
| 1071 | + }, |
| 1072 | + "osTypeSelectedParameter": { |
| 1073 | + "name": "osTypeSelected", |
| 1074 | + "in": "query", |
| 1075 | + "type": "string", |
| 1076 | + "enum": [ |
| 1077 | + "Windows", |
| 1078 | + "Linux", |
| 1079 | + "WindowsFunctions", |
| 1080 | + "LinuxFunctions", |
| 1081 | + "All" |
| 1082 | + ], |
| 1083 | + "x-ms-enum": { |
| 1084 | + "name": "ProviderOsTypeSelected", |
| 1085 | + "modelAsString": true |
| 1086 | + }, |
| 1087 | + "x-ms-parameter-location": "method" |
| 1088 | + }, |
| 1089 | + "stackOsTypeParameter": { |
| 1090 | + "name": "stackOsType", |
| 1091 | + "in": "query", |
| 1092 | + "description": "Stack OS Type", |
| 1093 | + "type": "string", |
| 1094 | + "enum": [ |
| 1095 | + "Windows", |
| 1096 | + "Linux", |
| 1097 | + "All" |
| 1098 | + ], |
| 1099 | + "x-ms-enum": { |
| 1100 | + "name": "ProviderStackOsType", |
| 1101 | + "modelAsString": true |
| 1102 | + }, |
| 1103 | + "x-ms-parameter-location": "method" |
1121 | 1104 | } |
1122 | 1105 | }, |
1123 | 1106 | "securityDefinitions": { |
|
0 commit comments