|
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" |
|
1094 | 1044 | "description": "API Version", |
1095 | 1045 | "required": true, |
1096 | 1046 | "type": "string" |
| 1047 | + }, |
| 1048 | + "osTypeSelectedParameter": { |
| 1049 | + "name": "osTypeSelected", |
| 1050 | + "in": "query", |
| 1051 | + "type": "string", |
| 1052 | + "enum": [ |
| 1053 | + "Windows", |
| 1054 | + "Linux", |
| 1055 | + "WindowsFunctions", |
| 1056 | + "LinuxFunctions", |
| 1057 | + "All" |
| 1058 | + ], |
| 1059 | + "x-ms-enum": { |
| 1060 | + "name": "ProviderOsTypeSelected", |
| 1061 | + "modelAsString": true |
| 1062 | + }, |
| 1063 | + "x-ms-parameter-location": "method" |
| 1064 | + }, |
| 1065 | + "stackOsTypeParameter": { |
| 1066 | + "name": "stackOsType", |
| 1067 | + "in": "query", |
| 1068 | + "description": "Stack OS Type", |
| 1069 | + "type": "string", |
| 1070 | + "enum": [ |
| 1071 | + "Windows", |
| 1072 | + "Linux", |
| 1073 | + "All" |
| 1074 | + ], |
| 1075 | + "x-ms-enum": { |
| 1076 | + "name": "ProviderStackOsType", |
| 1077 | + "modelAsString": true |
| 1078 | + }, |
| 1079 | + "x-ms-parameter-location": "method" |
1097 | 1080 | } |
1098 | 1081 | }, |
1099 | 1082 | "securityDefinitions": { |
|
0 commit comments