Package | Description |
---|---|
org.eclipse.microprofile.openapi.models |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.examples |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.headers |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.media |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models.parameters |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
Map<String,Example> |
Components.getExamples()
Returns the examples property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.addExample(String key,
Example example)
Adds the given example to this Components' map of examples with the given string as its key.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.examples(Map<String,Example> examples)
Sets this Components' examples property to the given Map containing keys and reusable example objects.
|
void |
Components.setExamples(Map<String,Example> examples)
Sets this Components' examples property to the given Map containing keys and reusable example objects.
|
Modifier and Type | Method and Description |
---|---|
Example |
Example.description(String description)
Sets this Example's description property to the given string.
|
Example |
Example.externalValue(String externalValue)
Sets this Example's externalValue property to the given string.
|
Example |
Example.summary(String summary)
Sets this Example's summary property to the given string.
|
Example |
Example.value(Object value)
Sets this Example's value property to the given value.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Example> |
Header.getExamples()
Returns the examples property from a Header instance.
|
Modifier and Type | Method and Description |
---|---|
Header |
Header.addExample(String key,
Example example)
Adds an example of the media type using the specified key to this Header instance.
|
Modifier and Type | Method and Description |
---|---|
Header |
Header.examples(Map<String,Example> examples)
Sets the examples property of this Header instance to the given map.
|
void |
Header.setExamples(Map<String,Example> examples)
Sets the examples property of this Header instance to the given map.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Example> |
MediaType.getExamples()
Returns the collection of examples from a MediaType instance.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
MediaType.addExample(String key,
Example example)
Adds an example item to the examples map of a MediaType instance.
|
Modifier and Type | Method and Description |
---|---|
MediaType |
MediaType.examples(Map<String,Example> examples)
Sets the examples field of a MediaType instance to the given map object.
|
void |
MediaType.setExamples(Map<String,Example> examples)
Sets the examples field of a MediaType instance to the given map object.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Example> |
Parameter.getExamples()
Returns the examples property from a Parameter instance.
|
Modifier and Type | Method and Description |
---|---|
Parameter |
Parameter.addExample(String key,
Example example)
Adds an example of the media type using the specified key.
|
Modifier and Type | Method and Description |
---|---|
Parameter |
Parameter.examples(Map<String,Example> examples)
Sets the examples property of a Parameter instance to the given value.
|
void |
Parameter.setExamples(Map<String,Example> examples)
Sets the examples property of a Parameter instance to the given value.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.