Package com.ibm.fhir.swagger.generator
Class FHIRSwaggerGenerator
- java.lang.Object
-
- com.ibm.fhir.swagger.generator.FHIRSwaggerGenerator
-
public class FHIRSwaggerGenerator extends java.lang.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 java.lang.String
APPLICATION_FORM
static java.lang.String
RESOURCEPACKAGENAME
static java.lang.String
TYPEPACKAGENAME
-
Constructor Summary
Constructors Constructor Description FHIRSwaggerGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-
-
-
Field Detail
-
TYPEPACKAGENAME
public static final java.lang.String TYPEPACKAGENAME
- See Also:
- Constant Field Values
-
RESOURCEPACKAGENAME
public static final java.lang.String RESOURCEPACKAGENAME
- See Also:
- Constant Field Values
-
APPLICATION_FORM
public static final java.lang.String APPLICATION_FORM
- See Also:
- Constant Field Values
-
-