Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Currently the ControllerModelDoclet is disabled by default since it will cause the build to break as there are unresolved errors. Therefore, the first step is to enable the doclet by setting the --should-run parameter to true in the services-repository pom.xml.

  2. In the services/repository directory, run mvn clean install -Dmaven.test.skip=true -e, which will build the package its dependencies (one of which is our doclet)

    1. When doing this, an error will pop up if there are still issues processing all of the controllers (see below for an example).

    2. To aid the process of finding which controller and which endpoint is causing the current issue, I have printed the controller and method that the translator is parsing through at the moment:

      1. In the above example, we can see the error is stemming from the getFileHandleURL method in the UploadController controller

  3. Repeat step 2 until no more errors are generated when running the build (smile)

  4. Create a client using swagger, follow the guide here.

...