Package io.muserver.openapi
Class ParameterObject
- java.lang.Object
-
- io.muserver.openapi.ParameterObject
-
public class ParameterObject extends java.lang.Object
- See Also:
ParameterObjectBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
allowedIns()
static java.util.List<java.lang.String>
allowedStyles()
boolean
allowEmptyValue()
boolean
allowReserved()
java.util.Map<java.lang.String,MediaTypeObject>
content()
boolean
deprecated()
java.lang.String
description()
java.lang.Object
example()
java.util.Map<java.lang.String,ExampleObject>
examples()
boolean
explode()
java.lang.String
in()
java.lang.String
name()
boolean
required()
SchemaObject
schema()
java.lang.String
style()
java.lang.String
toString()
void
writeJson(java.io.Writer writer)
-
-
-
Method Detail
-
allowedIns
public static java.util.List<java.lang.String> allowedIns()
- Returns:
- The values allowed to be passed to
ParameterObjectBuilder.withIn(String)
-
allowedStyles
public static java.util.List<java.lang.String> allowedStyles()
- Returns:
- The values allowed to be passed to
ParameterObjectBuilder.withStyle(String)
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
name
public java.lang.String name()
- Returns:
- the value described by
ParameterObjectBuilder.withName(java.lang.String)
-
in
public java.lang.String in()
- Returns:
- the value described by
ParameterObjectBuilder.withIn(java.lang.String)
-
description
public java.lang.String description()
- Returns:
- the value described by
ParameterObjectBuilder.withDescription(java.lang.String)
-
required
public boolean required()
- Returns:
- the value described by
ParameterObjectBuilder.withRequired(java.lang.Boolean)
-
deprecated
public boolean deprecated()
- Returns:
- the value described by
ParameterObjectBuilder.withDeprecated(java.lang.Boolean)
-
allowEmptyValue
public boolean allowEmptyValue()
- Returns:
- the value described by
ParameterObjectBuilder.withAllowEmptyValue(java.lang.Boolean)
-
style
public java.lang.String style()
- Returns:
- the value described by
ParameterObjectBuilder.withStyle(java.lang.String)
-
explode
public boolean explode()
- Returns:
- the value described by
ParameterObjectBuilder.withExplode(java.lang.Boolean)
-
allowReserved
public boolean allowReserved()
- Returns:
- the value described by
ParameterObjectBuilder.withAllowReserved(java.lang.Boolean)
-
schema
public SchemaObject schema()
- Returns:
- the value described by
ParameterObjectBuilder.withSchema(io.muserver.openapi.SchemaObject)
-
example
public java.lang.Object example()
- Returns:
- the value described by
ParameterObjectBuilder.withExample(java.lang.Object)
-
examples
public java.util.Map<java.lang.String,ExampleObject> examples()
- Returns:
- the value described by
ParameterObjectBuilder.withExamples(java.util.Map<java.lang.String, io.muserver.openapi.ExampleObject>)
-
content
public java.util.Map<java.lang.String,MediaTypeObject> content()
- Returns:
- the value described by
ParameterObjectBuilder.withContent(java.util.Map<java.lang.String, io.muserver.openapi.MediaTypeObject>)
-
-