Closed campy74 closed 4 years ago
Hi @campy74 ,
Trying to use your Swagger using the portal already fails. Please get your swagger fixed before trying to use my extension. If it doesn't work in the portal, it won't automagically work with my extension.
Best Regards
I setphaneey, We have a problem when we try to import our microservice with your extension.
The pipeline returned this issue:
2019-09-20T19:36:33.4323931Z Creating or updating API https://management.azure.com/subscriptions/582f37fa-236e-4d23-9924-915072d401f6/resourceGroups/ZWEU1-LNR-LS-RGP-D1-SUL/providers/Microsoft.ApiManagement/service/wkewdevapm0001/apis/userservice?api-version=2018-01-01 2019-09-20T19:36:34.4405544Z @{code=ValidationError; target=representation; message=Parsing error(s): uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4406122Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4406768Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4406945Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4407123Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4407296Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4407470Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4407623Z uniqueItems is not a valid property at #/paths//Roles/get/parameters [] 2019-09-20T19:36:34.4407914Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4409090Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4409403Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4410442Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4410631Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4410896Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4411174Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4411295Z uniqueItems is not a valid property at #/paths//Users/get/parameters [] 2019-09-20T19:36:34.4411379Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4411574Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4411677Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4411881Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4411985Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4412063Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4412160Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters [] 2019-09-20T19:36:34.4412317Z uniqueItems is not a valid property at #/paths//Workgroups/get/parameters []} @{code=ValidationError; target=representation; message=Parsing error(s): The input OpenAPI file is not valid for the OpenAPI specification https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md (schema https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.0/schema.yaml).} 2019-09-20T19:36:34.7237550Z ##[error]The remote server returned an error: (400) Bad Request.
I've used all combinations (V2 with microsoft version API 2017-03-01, with version 2018-01-01) and next (V3 with microsoft version API 2017-03-01, with versione 2018-01-01) but the error persists.
Attach file contain our swagger structure of microservice. How can we solve this issue?
Thanks very much for your time Best Regards! unserService.zip