Package | Description |
---|---|
org.eclipse.microprofile.openapi |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.models |
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.responses |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
default Header |
OASFilter.filterHeader(Header header)
Allows filtering of a particular Header.
|
Modifier and Type | Method and Description |
---|---|
default Header |
OASFilter.filterHeader(Header header)
Allows filtering of a particular Header.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Header> |
Components.getHeaders()
Returns the headers property from a Components instance.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.addHeader(String key,
Header header)
Adds the given header to this Components' map of headers with the given string as its key.
|
Modifier and Type | Method and Description |
---|---|
Components |
Components.headers(Map<String,Header> headers)
Sets this Components' headers property to the given Map containing keys and reusable header objects.
|
void |
Components.setHeaders(Map<String,Header> headers)
Sets this Components' headers property to the given Map containing keys and reusable header objects.
|
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.
|
Header |
Header.allowEmptyValue(Boolean allowEmptyValue)
Sets this Header's allowEmptyValue property to the given value.
|
Header |
Header.content(Content content)
Sets this Header's content property to the given object.
|
Header |
Header.deprecated(Boolean deprecated)
Sets this Header's deprecated property to the given value.
|
Header |
Header.description(String description)
Sets this Header's description property to the given string.
|
Header |
Header.example(Object example)
Sets this Header's example property to the given object.
|
Header |
Header.examples(Map<String,Example> examples)
Sets the examples property of this Header instance to the given map.
|
Header |
Header.explode(Boolean explode)
Sets this Header's explode property to the given value.
|
Header |
Header.required(Boolean required)
Sets this Header's required property to the given value.
|
Header |
Header.schema(Schema schema)
Sets this Header's schema property to the given object.
|
Header |
Header.style(Header.Style style)
Sets this Header's style property to the given style.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Header> |
Encoding.getHeaders()
Headers property of an Encoding is a map that allows additional information to be provided as headers
|
Modifier and Type | Method and Description |
---|---|
Encoding |
Encoding.headers(Map<String,Header> headers)
Headers property of an Encoding is a map that allows additional information to be provided as headers
|
void |
Encoding.setHeaders(Map<String,Header> headers)
Headers property of an Encoding is a map that allows additional information to be provided as headers
|
Modifier and Type | Method and Description |
---|---|
Map<String,Header> |
APIResponse.getHeaders()
Returns the map of Headers in this instance of ApiResponse.
|
Modifier and Type | Method and Description |
---|---|
APIResponse |
APIResponse.addHeader(String name,
Header header)
Adds the given Header to this ApiResponse instance's map of Headers with the given name and return this instance of ApiResponse.
|
Modifier and Type | Method and Description |
---|---|
APIResponse |
APIResponse.headers(Map<String,Header> headers)
Sets the Headers for this instance of ApiResponse with the given map of Headers and returns this instance of ApiResponse.
|
void |
APIResponse.setHeaders(Map<String,Header> headers)
Sets the Headers for this instance of ApiResponse with the given map of Headers.
|
Copyright © 2017–2018 Eclipse MicroProfile. All rights reserved.