Skip to main content
Question

Errors when importing Swagger files into API Manager tool

  • October 16, 2024
  • 2 replies
  • 32 views

Forum|alt.badge.img+7
  • Sidekick (Customer)
  • 28 replies

We have some problem to importing IFS Swagger files (OpenAPI V2), generated from API Explorer, into API Manager tool Sentinet (by Nevatech) that we are using.

We get a lot of errors saying “uniqueItems is not a valid property at <and then the information about where the error occurs>…”

 

We also get multiple errors with the error saying “The UriTemplate <see below example> is not valid; the UriTemplate variable named ‘Class’ appears multiple times in the template ….” for paths that look like
"/SomeDataSet(Class='{Class}',Part='{Part}')/SomeSubSet(Class='{Class}',Part='{Part}',Item='{Item}')".

Has anyone experienced this issue?
Are the generated Swagger files from IFS fully compatible with OpenAPI v2 standard?

2 replies

Forum|alt.badge.img+6
  • Hero (Employee)
  • 35 replies
  • October 16, 2024

Hi,

 

Which version of IFS cloud are you using.

/Trewon


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • 28 replies
  • October 16, 2024

We have been testing with 23.2.9 but have also start testing with 24.1.1 with the same result.