Package | Description |
---|---|
io.apicurio.datamodels.cmd.commands | |
io.apicurio.datamodels.openapi.v3.io | |
io.apicurio.datamodels.openapi.v3.models |
Modifier and Type | Method and Description |
---|---|
static ICommand |
CommandFactory.createDeleteExampleCommand(Oas30Example example) |
static ICommand |
CommandFactory.createDeleteParameterExampleCommand(Oas30Example example) |
Modifier and Type | Method and Description |
---|---|
void |
Oas30DataModelReader.readExample(Object json,
Oas30Example node)
Reads an OAS 3.0 Example from the given js data.
|
Modifier and Type | Class and Description |
---|---|
class |
Oas30ExampleDefinition
Models an OpenAPI 3.0.x example definition.
|
Modifier and Type | Field and Description |
---|---|
Map<String,Oas30Example> |
Oas30Parameter.examples |
Map<String,Oas30Example> |
Oas30Header.examples |
Map<String,Oas30Example> |
Oas30MediaType.examples |
Modifier and Type | Method and Description |
---|---|
Oas30Example |
Oas30Parameter.createExample(String name)
Creates a child Example model.
|
Oas30Example |
Oas30Header.createExample(String name)
Creates a child Example model.
|
Oas30Example |
Oas30MediaType.createExample(String name)
Creates a child Example model.
|
Oas30Example |
Oas30Parameter.getExample(String name)
Gets a single example by name.
|
Oas30Example |
Oas30Header.getExample(String name)
Gets a single example by name.
|
Oas30Example |
Oas30MediaType.getExample(String name)
Gets a single example by name.
|
Oas30Example |
Oas30Parameter.removeExample(String name)
Removes an Example and returns it.
|
Oas30Example |
Oas30Header.removeExample(String name)
Removes an Example and returns it.
|
Oas30Example |
Oas30MediaType.removeExample(String name)
Removes an Example and returns it.
|
Modifier and Type | Method and Description |
---|---|
List<Oas30Example> |
Oas30Parameter.getExamples()
Gets all examples.
|
List<Oas30Example> |
Oas30Header.getExamples()
Gets all examples.
|
List<Oas30Example> |
Oas30MediaType.getExamples()
Gets all examples.
|
Modifier and Type | Method and Description |
---|---|
void |
Oas30Parameter.addExample(Oas30Example example)
Adds the Example to the map of examples.
|
void |
Oas30Header.addExample(Oas30Example example)
Adds the Example to the map of examples.
|
void |
Oas30MediaType.addExample(Oas30Example example)
Adds the Example to the map of examples.
|
Copyright © 2020 Red Hat. All rights reserved.