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
Issue Links
- links to
- Wiki Page
-
Wiki Page Loading...