Package io.muserver.openapi
Class ServerObject
- java.lang.Object
-
- io.muserver.openapi.ServerObject
-
public class ServerObject extends java.lang.Object
- See Also:
ServerObjectBuilder
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
description
Deprecated.usedescription()
insteadjava.lang.String
url
Deprecated.useurl()
insteadjava.util.Map<java.lang.String,ServerVariableObject>
variables
Deprecated.usevariables()
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
description()
java.lang.String
url()
java.util.Map<java.lang.String,ServerVariableObject>
variables()
void
writeJson(java.io.Writer writer)
-
-
-
Field Detail
-
url
@Deprecated public final java.lang.String url
Deprecated.useurl()
instead
-
description
@Deprecated public final java.lang.String description
Deprecated.usedescription()
instead
-
variables
@Deprecated public final java.util.Map<java.lang.String,ServerVariableObject> variables
Deprecated.usevariables()
instead
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
url
public java.lang.String url()
- Returns:
- the value described by
ServerObjectBuilder.withUrl(java.lang.String)
-
description
public java.lang.String description()
- Returns:
- the value described by
ServerObjectBuilder.withDescription(java.lang.String)
-
variables
public java.util.Map<java.lang.String,ServerVariableObject> variables()
- Returns:
- the value described by
ServerObjectBuilder.withVariables(java.util.Map<java.lang.String, io.muserver.openapi.ServerVariableObject>)
-
-