Package com.ibm.fhir.swagger.generator
Class FHIRSwaggerGenerator
- java.lang.Object
-
- com.ibm.fhir.swagger.generator.FHIRSwaggerGenerator
-
public class FHIRSwaggerGenerator extends Object
Generate Swagger 2.0 from the HL7 FHIR R4 artifacts and the IBM FHIR object model.By default, this class will create a separate Swagger definition for each resource type and compartment, with all applicable HTTP interactions enabled.
To limit the output to a given set of resources and/or interactions, pass a set of semicolon-delimited filter strings of the form
ResourceType1(interaction1,interaction2)
. For example:Patient(create,update,read,vread,history,search);Contract(create,read,vread,history,search);RiskAssessment(read)
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_FORM
static String
RESOURCEPACKAGENAME
static String
TYPEPACKAGENAME
-
Constructor Summary
Constructors Constructor Description FHIRSwaggerGenerator()
-
-
-
Field Detail
-
TYPEPACKAGENAME
public static final String TYPEPACKAGENAME
- See Also:
- Constant Field Values
-
RESOURCEPACKAGENAME
public static final String RESOURCEPACKAGENAME
- See Also:
- Constant Field Values
-
APPLICATION_FORM
public static final String APPLICATION_FORM
- See Also:
- Constant Field Values
-
-