Uploaded image for project: 'Webservices REST Module'
  1. Webservices REST Module
  2. RESTWS-681

Document TaskActionResource

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • 2.22.0
    • None

    Description

      So for a resource to be appeared in OpenMRS Swagger Documentation, following methods should be overridden, based on its supported CRUD operations.

      • Model getGETModel(Representation)
        • If supports GET operations - override this method.
      • Model getCREATEModel(Representation)
        • If supports CREATE operations - override this method.
      • Model getUPDATEModel(Representation)
        • If supports UPDATE operations - override this method.

      As stated by the comment, you only need to override `getCREATEModel(Representation)` method for TaskActionResource.

      Gliffy Diagrams

        Attachments

          Activity

            People

              matthewwhitaker Matthew Whitaker
              gayanw Gayan W.
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: