Skip to content

Commit

Permalink
Update fix-apim-swagger-issue.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickcau authored Dec 4, 2023
1 parent c307c81 commit cbd1d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/howtos/fix-apim-swagger-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In this how-to, I will cover a workaround to fix this issue. In this case we ar
1. Navigate to API Management Services in the Azure Portal
2. Next, click on **+ Add API**
3. Under **Create from definition** you will see **OpenAI** click on it. The **Create from OpenAPI specification** dialog will appear.
4. Next, click on **Select a file** and select one of the Swagger files you downloaded from [here]( https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview) {:target="_blank"}
4. Next, click on **Select a file** and select one of the Swagger files you downloaded from [here]( https://github.com/Azure/azure-rest-api-specs/tree/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview){:target="_blank"}

You will get an error message that states: "One or more fields contains incorrect values". Below is an example of the error.
![]({{ site.baseurl }}/assets/images/APIM/Issue-Importing-AOAI-Swagger-1.jpg)
Expand Down

0 comments on commit cbd1d6e

Please sign in to comment.