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 and every resource type; each with all 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
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
-
-