Class 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)
     
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FHIRSwaggerGenerator

        public FHIRSwaggerGenerator()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception