Package | Description |
---|---|
org.mockserver.openapi.examples | |
org.mockserver.openapi.examples.models |
Modifier and Type | Method and Description |
---|---|
static Example |
ExampleBuilder.alreadyProcessedRefExample(String name,
Map<String,io.swagger.v3.oas.models.media.Schema> definitions,
Map<String,Example> processedModels) |
Example |
JsonExampleDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
static Example |
ExampleBuilder.fromProperty(String name,
io.swagger.v3.oas.models.media.Schema<?> property,
Map<String,io.swagger.v3.oas.models.media.Schema> definitions,
Map<String,Example> processedModels,
Set<String> modelsStartedProcessing,
StringBuilder location) |
static Example |
ExampleBuilder.fromSchema(io.swagger.v3.oas.models.media.Schema<?> property,
Map<String,io.swagger.v3.oas.models.media.Schema> definitions) |
Modifier and Type | Method and Description |
---|---|
Class<Example> |
JsonNodeExampleSerializer.handledType() |
Modifier and Type | Method and Description |
---|---|
String |
XmlExampleSerializer.getTypeName(Example o) |
String |
XmlExampleSerializer.serialize(Example o) |
void |
JsonNodeExampleSerializer.serialize(Example value,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
JsonNodeExampleSerializer.writeTo(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
Example o) |
void |
XmlExampleSerializer.writeTo(XMLStreamWriter writer,
Example o) |
void |
JsonNodeExampleSerializer.writeValue(com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
String field,
Example o) |
Modifier and Type | Method and Description |
---|---|
static Example |
ExampleBuilder.alreadyProcessedRefExample(String name,
Map<String,io.swagger.v3.oas.models.media.Schema> definitions,
Map<String,Example> processedModels) |
static Example |
ExampleBuilder.fromProperty(String name,
io.swagger.v3.oas.models.media.Schema<?> property,
Map<String,io.swagger.v3.oas.models.media.Schema> definitions,
Map<String,Example> processedModels,
Set<String> modelsStartedProcessing,
StringBuilder location) |
static void |
ExampleBuilder.mergeTo(ObjectExample output,
List<Example> examples) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
ArrayExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
BigIntegerExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
BooleanExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
DecimalExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
DoubleExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
FloatExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
IntegerExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
LongExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
ObjectExample
See: https://github.com/swagger-api/swagger-inflector
|
class |
StringExample
See: https://github.com/swagger-api/swagger-inflector
|
Modifier and Type | Method and Description |
---|---|
List<Example> |
ArrayExample.getItems() |
Map<String,Example> |
ObjectExample.getValues() |
Modifier and Type | Method and Description |
---|---|
void |
ArrayExample.add(Example value) |
void |
ObjectExample.put(String key,
Example value) |
Modifier and Type | Method and Description |
---|---|
void |
ObjectExample.putAll(Map<String,Example> values) |
void |
ObjectExample.setValues(Map<String,Example> values) |
Copyright © 2022. All rights reserved.