Package io.muserver.openapi
Class ServerVariableObject
- java.lang.Object
-
- io.muserver.openapi.ServerVariableObject
-
public class ServerVariableObject extends java.lang.Object
- See Also:
ServerVariableObjectBuilder
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
defaultValue
Deprecated.usedefaultValue()
insteadjava.lang.String
description
Deprecated.usedescription()
insteadjava.util.List<java.lang.String>
enumValues
Deprecated.useenumValues()
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
defaultValue()
java.lang.String
description()
java.util.List<java.lang.String>
enumValues()
void
writeJson(java.io.Writer writer)
-
-
-
Field Detail
-
enumValues
@Deprecated public final java.util.List<java.lang.String> enumValues
Deprecated.useenumValues()
instead
-
defaultValue
@Deprecated public final java.lang.String defaultValue
Deprecated.usedefaultValue()
instead
-
description
@Deprecated public final java.lang.String description
Deprecated.usedescription()
instead
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
enumValues
public java.util.List<java.lang.String> enumValues()
- Returns:
- the value described by
ServerVariableObjectBuilder.withEnumValues(java.util.List<java.lang.String>)
-
defaultValue
public java.lang.String defaultValue()
- Returns:
- the value described by
ServerVariableObjectBuilder.withDefaultValue(java.lang.String)
-
description
public java.lang.String description()
- Returns:
- the value described by
ServerVariableObjectBuilder.withDescription(java.lang.String)
-
-