public class ExampleGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,io.swagger.v3.oas.models.media.Schema> |
examples |
| Constructor and Description |
|---|
ExampleGenerator(Map<String,io.swagger.v3.oas.models.media.Schema> examples) |
| Modifier and Type | Method and Description |
|---|---|
List<Map<String,String>> |
generate(Map<String,Object> examples,
List<String> mediaTypes,
io.swagger.v3.oas.models.media.Schema property) |
List<Map<String,String>> |
generate(Map<String,Object> examples,
List<String> mediaTypes,
String modelName) |
Copyright © 2020. All rights reserved.