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

Document TaskActionResource

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.22.0
    • Labels:
    • Complexity:
      Low

      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

              Assignee:
              matthewwhitaker Matthew Whitaker
              Reporter:
              gayanw Gayan Weerakutti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: