public class SecuritySchemeObject extends Object
SecuritySchemeObjectBuilder
Modifier and Type | Field and Description |
---|---|
String |
bearerFormat
Deprecated.
use
bearerFormat() instead |
String |
description
Deprecated.
use
description() instead |
OAuthFlowsObject |
flows
Deprecated.
use
flows() instead |
String |
in
Deprecated.
use
in() instead |
String |
name
Deprecated.
use
name() instead |
URI |
openIdConnectUrl
Deprecated.
use
openIdConnectUrl() instead |
String |
scheme
Deprecated.
use
scheme() instead |
String |
type
Deprecated.
use
type() instead |
Modifier and Type | Method and Description |
---|---|
String |
bearerFormat() |
String |
description() |
OAuthFlowsObject |
flows() |
String |
in() |
String |
name() |
URI |
openIdConnectUrl() |
String |
scheme() |
String |
type() |
static List<String> |
validTypes() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final String type
type()
instead@Deprecated public final String description
description()
instead@Deprecated public final String name
name()
instead@Deprecated public final String in
in()
instead@Deprecated public final String scheme
scheme()
instead@Deprecated public final String bearerFormat
bearerFormat()
instead@Deprecated public final OAuthFlowsObject flows
flows()
instead@Deprecated public final URI openIdConnectUrl
openIdConnectUrl()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic String type()
SecuritySchemeObjectBuilder.withType(java.lang.String)
public String description()
SecuritySchemeObjectBuilder.withDescription(java.lang.String)
public String name()
SecuritySchemeObjectBuilder.withName(java.lang.String)
public String in()
SecuritySchemeObjectBuilder.withIn(java.lang.String)
public String scheme()
SecuritySchemeObjectBuilder.withScheme(java.lang.String)
public String bearerFormat()
SecuritySchemeObjectBuilder.withBearerFormat(java.lang.String)
public OAuthFlowsObject flows()
SecuritySchemeObjectBuilder.withFlows(io.muserver.openapi.OAuthFlowsObject)
public URI openIdConnectUrl()
SecuritySchemeObjectBuilder.withOpenIdConnectUrl(java.net.URI)
public static List<String> validTypes()
SecuritySchemeObjectBuilder.withType(String)
Copyright © 2017–2021. All rights reserved.