Package org.hl7.fhir.r5.openapi
Class BaseWriter
java.lang.Object
org.hl7.fhir.r5.openapi.BaseWriter
- Direct Known Subclasses:
ComponentsWriter
,ExternalDocsWriter
,InfoWriter
,MediaTypeObjectWriter
,OperationWriter
,ParameterWriter
,PathItemWriter
,RequestBodyWriter
,ResponseObjectWriter
,ResponsesWriter
,SchemaWriter
,ServerVariableWriter
,ServerWriter
,TagWriter
,Writer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.gson.JsonObject
ensureArrayObject
(String arrayName, String propertyName, String value) protected com.google.gson.JsonObject
ensureMapObject
(String value) protected com.google.gson.JsonObject
ensureMapObject
(String mapName, String value) protected com.google.gson.JsonObject
ensureObject
(String name) protected com.google.gson.JsonArray
forceArray
(String arrayName) protected com.google.gson.JsonObject
forceArrayObject
(String arrayName)
-
Field Details
-
object
-
-
Constructor Details
-
BaseWriter
-
-
Method Details
-
ensureObject
-
ensureArrayObject
protected com.google.gson.JsonObject ensureArrayObject(String arrayName, String propertyName, String value) -
forceArray
-
forceArrayObject
-
ensureMapObject
-
ensureMapObject
-