Skip to content

Improve /documents/validate swagger #79

Description

@aorin

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    quickTakes less than one day to complete

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions