OpenMRS

Document TaskActionResource

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.
    

Override the relevant methods for TaskActionResource.

Students who completed this task

Matthew Whitaker

Task type

  • code Code
close

2017