Currently it's not easy to test /documents/validate endpoint since there is no section for the request body in the swagger (https://apitest.laji.fi/openapi#/Documents/DocumentsController_validate).
Also, as a side note, JSONPointerToOldApiJSONPath function could be removed from the src/documents/document-validator/document-validator.utils.ts file since it's not used and can cause confusion
Currently it's not easy to test
/documents/validateendpoint since there is no section for the request body in the swagger (https://apitest.laji.fi/openapi#/Documents/DocumentsController_validate).Also, as a side note,
JSONPointerToOldApiJSONPathfunction could be removed from thesrc/documents/document-validator/document-validator.utils.tsfile since it's not used and can cause confusion