public class XmlExampleGenerator extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
CLOSE_TAG  | 
protected Map<String,io.swagger.v3.oas.models.media.Schema> | 
examples  | 
protected org.slf4j.Logger | 
LOGGER  | 
static String | 
NEWLINE  | 
static String | 
TAG_END  | 
static String | 
TAG_START  | 
| Constructor and Description | 
|---|
XmlExampleGenerator(Map<String,io.swagger.v3.oas.models.media.Schema> examples)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
closeTag(String name)  | 
protected String | 
getExample(io.swagger.v3.oas.models.media.Schema property)
Get the example string value for the given Property. 
 | 
protected String | 
indent(int indent)  | 
protected String | 
modelImplToXml(io.swagger.v3.oas.models.media.Schema schema,
              int indent,
              Collection<String> path)  | 
protected String | 
openTag(String name)  | 
protected String | 
quote(String string)  | 
String | 
toXml(io.swagger.v3.oas.models.media.Schema property)  | 
protected String | 
toXml(io.swagger.v3.oas.models.media.Schema schema,
     int indent,
     Collection<String> path)  | 
protected String | 
toXml(String name,
     io.swagger.v3.oas.models.media.Schema property,
     int indent,
     Collection<String> path)  | 
protected final org.slf4j.Logger LOGGER
public static String NEWLINE
public static String TAG_START
public static String CLOSE_TAG
public static String TAG_END
public String toXml(io.swagger.v3.oas.models.media.Schema property)
protected String toXml(io.swagger.v3.oas.models.media.Schema schema, int indent, Collection<String> path)
protected String modelImplToXml(io.swagger.v3.oas.models.media.Schema schema, int indent, Collection<String> path)
protected String toXml(String name, io.swagger.v3.oas.models.media.Schema property, int indent, Collection<String> path)
protected String getExample(io.swagger.v3.oas.models.media.Schema property)
property - Property to get example string forprotected String indent(int indent)
Copyright © 2020. All rights reserved.