Package org.hl7.fhir.r4b.openapi
Class Writer
- java.lang.Object
-
- org.hl7.fhir.r4b.openapi.BaseWriter
-
- org.hl7.fhir.r4b.openapi.Writer
-
public class Writer extends BaseWriter
-
-
Field Summary
-
Fields inherited from class org.hl7.fhir.r4b.openapi.BaseWriter
object
-
-
Constructor Summary
Constructors Constructor Description Writer(OutputStream stream)Writer(OutputStream stream, InputStream template)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()ComponentsWritercomponents()ExternalDocsWriterexternalDocs()InfoWriterinfo()PathItemWriterpath(String path)WriterpathRef(String path, String url)ServerWriterserver(String url)TagWritertag(String name)-
Methods inherited from class org.hl7.fhir.r4b.openapi.BaseWriter
ensureArrayObject, ensureMapObject, ensureMapObject, ensureObject, forceArray, forceArrayObject
-
-
-
-
Constructor Detail
-
Writer
public Writer(OutputStream stream)
-
Writer
public Writer(OutputStream stream, InputStream template) throws com.google.gson.JsonSyntaxException, IOException
- Throws:
com.google.gson.JsonSyntaxExceptionIOException
-
-
Method Detail
-
commit
public void commit() throws IOException
- Throws:
IOException
-
info
public InfoWriter info()
-
path
public PathItemWriter path(String path)
-
server
public ServerWriter server(String url)
-
externalDocs
public ExternalDocsWriter externalDocs()
-
components
public ComponentsWriter components()
-
-