You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/api-management/api-management-api-import-restrictions.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,14 +109,14 @@ Security definitions are ignored.
109
109
When importing query parameters, only the default array serialization method (`style: form`, `explode: true`) is supported. For more details on query parameters in OpenAPI specifications, refer to [the serialization specification](https://swagger.io/docs/specification/serialization/).
110
110
111
111
<!-- Ref: 1795433 Parameter limitations -->
112
-
Parameters [defined in cookies](https://swagger.io/docs/specification/describing-parameters/#cookie-parameters)are not supported. You can still use policy to decode and validate the contents of cookies.
112
+
Parameters [defined in cookies](https://swagger.io/docs/specification/describing-parameters/#cookie-parameters)aren't supported. You can still use policy to decode and validate the contents of cookies.
113
113
114
114
### <aname="open-api-v2"> </a>OpenAPI version 2
115
115
116
116
OpenAPI version 2 support is limited to JSON format only.
117
117
118
118
<!-- Ref: 1795433 Parameter limitations -->
119
-
["Form" type parameters](https://swagger.io/specification/v2/#parameter-object)are not supported. You can still use policy to decode and validate `application/x-www-form-urlencoded` and `application/form-data` payloads.
119
+
["Form" type parameters](https://swagger.io/specification/v2/#parameter-object)aren't supported. You can still use policy to decode and validate `application/x-www-form-urlencoded` and `application/form-data` payloads.
120
120
121
121
### <aname="open-api-v3"> </a>OpenAPI version 3.x
122
122
@@ -128,15 +128,15 @@ API Management supports the following specification versions:
128
128
#### HTTPS URLs
129
129
130
130
* If multiple `servers` are specified, API Management will use the first HTTPS URL it finds.
131
-
* If there aren't any HTTPS URLs, the server URL will be empty.
131
+
* If there aren't any HTTPS URLs, the server URL is empty.
132
132
133
133
#### Supported
134
134
135
135
-`example`
136
136
137
137
#### Unsupported
138
138
139
-
The following fields are included in either [OpenAPI version 3.0.x](https://swagger.io/specification/) or [OpenAPI version 3.1.x](https://spec.openapis.org/oas/v3.1.0), but are not supported:
139
+
The following fields are included in either [OpenAPI version 3.0.x](https://swagger.io/specification/) or [OpenAPI version 3.1.x](https://spec.openapis.org/oas/v3.1.0), but aren't supported:
140
140
141
141
| Object | Field |
142
142
| ----------- | ----------- |
@@ -160,10 +160,10 @@ For configuration management of API definitions across different services/enviro
160
160
161
161
### Add new API via OpenAPI import
162
162
163
-
For each operation found in the OpenAPI document, a new operation will be created with:
163
+
For each operation found in the OpenAPI document, a new operation is created with:
164
164
* Azure resource name set to `operationId`.
165
165
*`operationId` value is normalized.
166
-
* If `operationId` isn't specified (not present, `null`, or empty), Azure resource name value will be generated by combining HTTP method and path template.
166
+
* If `operationId` isn't specified (not present, `null`, or empty), Azure resource name value is generated by combining HTTP method and path template.
167
167
* For example, `get-foo`.
168
168
169
169
* Display name set to `summary`.
@@ -175,9 +175,9 @@ For each operation found in the OpenAPI document, a new operation will be create
175
175
**Normalization rules for `operationId`**
176
176
- Convert to lower case.
177
177
- Replace each sequence of non-alphanumeric characters with a single dash.
178
-
- For example, `GET-/foo/{bar}?buzz={quix}`will be transformed into `get-foo-bar-buzz-quix-`.
178
+
- For example, `GET-/foo/{bar}?buzz={quix}`is transformed into `get-foo-bar-buzz-quix-`.
179
179
- Trim dashes on both sides.
180
-
- For example, `get-foo-bar-buzz-quix-`will become`get-foo-bar-buzz-quix`
180
+
- For example, `get-foo-bar-buzz-quix-`becomes`get-foo-bar-buzz-quix`
181
181
- Truncate to fit 76 characters, four characters less than maximum limit for a resource name.
182
182
- Use remaining four characters for a de-duplication suffix, if necessary, in the form of `-1, -2, ..., -999`.
183
183
@@ -186,12 +186,12 @@ For each operation found in the OpenAPI document, a new operation will be create
186
186
During import, the existing API operation:
187
187
* Changes to match the API described in the OpenAPI document.
188
188
* Matches to an operation in the OpenAPI document by comparing its `operationId` value to the existing operation's Azure resource name.
189
-
* If a match is found, existing operation’s properties will be updated "in-place".
189
+
* If a match is found, existing operation’s properties are updated "in-place".
190
190
* If a match isn't found:
191
-
* A new operation will be created by combining HTTP method and path template, for example, `get-foo`.
191
+
* A new operation is created by combining HTTP method and path template, for example, `get-foo`.
192
192
* For each new operation, the import will attempt to copy policies from an existing operation with the same HTTP method and path template.
193
193
194
-
All existing unmatched operations will be deleted.
194
+
All existing unmatched operations are deleted.
195
195
196
196
To make import more predictable, follow these guidelines:
197
197
@@ -202,17 +202,17 @@ To make import more predictable, follow these guidelines:
202
202
**Normalization rules for `operationId`**
203
203
- Convert to lower case.
204
204
- Replace each sequence of non-alphanumeric characters with a single dash.
205
-
- For example, `GET-/foo/{bar}?buzz={quix}`will be transformed into `get-foo-bar-buzz-quix-`.
205
+
- For example, `GET-/foo/{bar}?buzz={quix}`is transformed into `get-foo-bar-buzz-quix-`.
206
206
- Trim dashes on both sides.
207
-
- For example, `get-foo-bar-buzz-quix-`will become`get-foo-bar-buzz-quix`
207
+
- For example, `get-foo-bar-buzz-quix-`becomes`get-foo-bar-buzz-quix`
208
208
- Truncate to fit 76 characters, four characters less than maximum limit for a resource name.
209
209
- Use remaining four characters for a de-duplication suffix, if necessary, in the form of `-1, -2, ..., -999`.
210
210
211
211
### Export API as OpenAPI
212
212
213
-
For each operation, its:
214
-
* Azure resource name will be exported as an `operationId`.
215
-
* Display name will be exported as a `summary`.
213
+
For each operation, it's:
214
+
* Azure resource name is exported as an `operationId`.
215
+
* Display name is exported as a `summary`.
216
216
217
217
Note that normalization of the `operationId` is done on import, not on export.
218
218
@@ -231,7 +231,7 @@ You can create [SOAP pass-through](import-soap-api.md) and [SOAP-to-REST](restif
231
231
232
232
### WS-* specifications
233
233
234
-
WSDL files incorporating WS-* specifications are not supported.
@@ -245,13 +245,13 @@ This message type is not supported.
245
245
- Official support isn't offered at this time.
246
246
247
247
### Recursion
248
-
- Types defined recursively are not supported by API Management.
248
+
- Types defined recursively aren't supported by API Management.
249
249
- For example, refer to an array of themselves.
250
250
251
251
### Multiple Namespaces
252
252
While multiple namespaces can be used in a schema, only the target namespace can be used to define message parts. These namespaces are used to define other input or output elements.
253
253
254
-
Namespaces other than the target are not preserved on export. While you can import a WSDL document defining message parts with other namespaces, all message parts will have the WSDL target namespace on export.
254
+
Namespaces other than the target aren't preserved on export. While you can import a WSDL document defining message parts with other namespaces, all message parts will have the WSDL target namespace on export.
255
255
256
256
### Arrays
257
257
SOAP-to-REST transformation supports only wrapped arrays shown in the example below:
0 commit comments