Skip to content

Commit 48f334a

Browse files
author
PRMerger9
authored
Merge pull request #42452 from vladvino/patch-1
Corrected open api spelling and added another Swagger constraint
2 parents 279ca48 + 2d7f2b0 commit 48f334a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/api-management/api-management-api-import-restrictions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ ms.author: apipm
2121
## About this list
2222
When importing an API, you might come across some restrictions or identify issues that need to be rectified before you can successfully import. This article documents these, organized by the import format of the API.
2323

24-
## <a name="open-api"> </a>Open API/Swagger
25-
If you are receiving errors importing your Open API document, ensure you have validated it - either using the designer in the Azure portal (Design - Front End - Open API Specification Editor), or with a third-party tool such as <a href="http://www.swagger.io">Swagger Editor</a>.
24+
## <a name="open-api"> </a>OpenAPI/Swagger
25+
If you are receiving errors importing your OpenAPI document, ensure you have validated it - either using the designer in the Azure portal (Design - Front End - OpenAPI Specification Editor), or with a third-party tool such as <a href="http://www.swagger.io">Swagger Editor</a>.
2626

2727
* Only JSON format for OpenAPI is supported.
28+
* Required parameters across both path and query must have unique names. (In OpenAPI a parameter name only needs to be unique within a location, e.g. path, query, header. However, in API Management we allow operations to be discriminated by both path and query parameters (which OpenAPI does not support). Therefore we require parameter names to be unique within the entire URL template.)
2829
* Schemas referenced using **$ref** properties can't contain other **$ref** properties.
2930
* **$ref** pointers can't reference external files.
3031
* **x-ms-paths** and **x-servers** are the only supported extensions.

0 commit comments

Comments
 (0)