Package io.openapiparser.model.v30
Class Responses
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v30.Responses
-
- All Implemented Interfaces:
Extensions
public class Responses extends Properties implements Extensions
the Responses object.See specification: 4.7.16 Responses 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 ResponsegetDefault()java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.@Nullable ResponsegetResponse(java.lang.String httpStatus)java.util.Map<java.lang.String,Response>getResponses()-
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
-
Responses
public Responses(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
getResponses
public java.util.Map<java.lang.String,Response> getResponses()
-
getResponse
public @Nullable Response getResponse(java.lang.String httpStatus)
-
getDefault
public @Nullable Response getDefault()
-
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
-
-