2023.12.2: IMatch Web Services Documentation does not work anymore

Started by thrinn, June 11, 2024, 07:58:44 AM

Previous topic - Next topic

thrinn

This is more or less the same issue we had with 2021.8.4: 2021.8.4: IMatch Web Services Documentation does not work anymore (as Ger correctly discovered). But because it is at a slightly different position, I decided to open a new bug report.

Due to a superfluous comma, the automatic Web Service documentation does not work anymore. The solution is also the same as described in the older post:

Open "C:\ProgramData\photools.com\imatch6\IMWS\resources\json\schema.json" in a text editor.
Search for:
"/categories/unassignall"

Remove the comma indicated in the screenshot:

2024-06-11 07_55_49-schema.json - Visual Studio Code.jpg
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

This was reported in another thread today and fixed by me for the next release.

I have checks in place in the scripts that build the installer to detect invalid JSON files (e.g. resources).
I now have included the schema.json in these checks now.
Cannot happen again. The build will not complete when this JSON file or the 100+ other files it checks are invalid.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook