Package io.openapiparser.model.v31
Class Server
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v31.Server
-
- All Implemented Interfaces:
Extensions
public class Server extends Properties implements Extensions
the Server object.See specification: 4.8.5 Server Object
-
-
Field Summary
-
Fields inherited from class io.openapiparser.Properties
bucket, context
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.StringgetDescription()java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.java.lang.StringgetUrl()java.util.Map<java.lang.String,ServerVariable>getVariables()-
Methods inherited from class io.openapiparser.Properties
getBooleanOrDefault, getBooleanOrFalse, getBooleanOrNull, getIntegerOrDefault, getIntegerOrNull, getMapObjectsOrEmpty, getMapObjectsOrEmpty, getMapSetStringsOrEmpty, getMapStringsOrEmpty, getNumberOrNull, getObjectOrNull, getObjectOrThrow, getObjectsOrEmpty, getRawValue, getRawValueOf, getRefObject, getRefObjectOrThrow, getStringOrNull, getStringOrThrow, getStringsOrEmpty, getStringsOrNull, getValueOf, hasProperty
-
-
-
-
Constructor Detail
-
Server
public Server(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
getUrl
@Required public java.lang.String getUrl()
-
getDescription
public @Nullable java.lang.String getDescription()
-
getVariables
public java.util.Map<java.lang.String,ServerVariable> getVariables()
-
getExtensions
public java.util.Map<java.lang.String,java.lang.Object> getExtensions()
Description copied from interface:Extensionsmap of all extension properties.- Specified by:
getExtensionsin interfaceExtensions- Overrides:
getExtensionsin classProperties- Returns:
- map of extension properties
-
-