Build: #713 was successful
Job: Default Job was successful
Code commits
openmrs-module-webservices.rest
-
Gayan Weerakutti <gayanW@users.noreply.github.com> 639ad0273ee0c086cd823e3c118e657ec4f0b09e
RESTWS-562 Improve Resource Definition Documentation (#288)
* RESTWS-562 Improve Resource Definition Documentation
- adds swagger-core library
* uses its Java API and model classes to construct and generate the swagger json.
- introudce new methods which model objects used in constructing the definitions section:
* getGETModel(Representation) : returns a object represting GET representation schema of resource
* getCREATEModel(Representation) : returns a object representing CREATE representation shema of a resource
* getUPDATEModel(Representation) : returns a object representing POST Update representation schema of a resource
ex: PersonGet, PersonCreate, PersonUpdate
- adds new test cases to: SwaggerSpecificationCreatorTest.java
- adds support for multiple representation types
GET schemas have support for representations: DEFAULT, REF, and FULL
CREATE schemas have support for representations: DEFAULT, and FULL
POST_UPDATE schemas have support for representations: DEFAULT
* uses default schema for the shema of responses and parameters
* Fixup, document undocumented methods- OpenMRSFormatter.xml (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/CareSettingResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/OrderResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/OrderTypeResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/OrderableResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/ProgramEnrollmentResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/ProgramResource1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.10/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_10/TestOrderSubclassHandler1_10.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.11/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_11/DrugIngredientResource1_11.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.11/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_11/ObsResource1_11.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.11/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_11/PersonResource1_11.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.12/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_12/OrderSetMemberResource1_12.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.12/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_12/OrderSetResource1_12.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/AllergyResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/BaseActiveListItemResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/CohortMemberResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/CohortResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptClassResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptDatatypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptDescriptionResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptMapResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptNameResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ConceptSourceResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/DrugOrderSubclassHandler1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/DrugResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/EncounterResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/EncounterTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/FieldAnswerResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/FieldResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/FieldTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/FormFieldResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/FormResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/HL7MessageResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/HL7SourceResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/LocationResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/LocationTagResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ModuleActionResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ModuleResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ObsResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/OrderResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/OrderTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientIdentifierResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientIdentifierTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PatientStateResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PersonAddressResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PersonAttributeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PersonAttributeTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PersonNameResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PersonResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/PrivilegeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ProblemResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ProgramEnrollmentResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ProgramResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ProgramWorkflowResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/ProgramWorkflowStateResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/RelationShipTypeResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/RelationshipResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/RoleResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_8/UserResource1_8.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.8/src/test/java/org/openmrs/module/webservices/rest/web/HivDrugOrderSubclassHandler.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/BaseAttributeCrudResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/BaseAttributeTypeCrudResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptMapResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptMapTypeResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptReferenceTermMapResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptReferenceTermResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptSearchResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ConceptStopwordResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/CustomDatatypeHandlerResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/CustomDatatypeResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/EncounterProviderResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/EncounterRoleResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/FormResourceResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ProviderResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/SystemSettingResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/VisitResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/VisitTypeResource1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs1_9/ProviderResource1_9Test.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-1.9/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/test/GenericChildResource.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-2.0/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_0/PatientAllergyResource2_0.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-2.1/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_1/CohortMembershipResource2_1.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-2.1/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_1/CohortResource2_1.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-2.1/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_1/ConceptSourceResource2_1.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-2.1/src/main/java/org/openmrs/module/webservices/rest/web/v1_0/resource/openmrs2_1/ObsResource2_1.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/pom.xml (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/SwaggerSpecificationCreator.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/docs/swagger/core/property/EnumProperty.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/BaseDelegatingResource.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/BaseDelegatingSubclassHandler.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/DelegatingResourceHandler.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/impl/MetadataDelegatingCrudResource.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/AnimalClassResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/AnimalResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/BirdResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/CatSubclassHandler_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/DuplicateNameAndOrderAnimalResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/DuplicateNameAnimalResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/InstantiateExceptionAnimalResource_1_9.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/mockingbird/test/rest/resource/UnannotatedAnimalResource.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/impl/MetadataDelegatingCrudResourceTest.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)
- omod/src/test/java/org/openmrs/module/webservices/rest/doc/SwaggerSpecificationCreatorTest.java (version 639ad0273ee0c086cd823e3c118e657ec4f0b09e)