Package io.openapiparser.model.v31
Class Info
- java.lang.Object
-
- io.openapiparser.Properties
-
- io.openapiparser.model.v31.Info
-
- All Implemented Interfaces:
Extensions
public class Info extends Properties implements Extensions
the Info object.See specification: 4.8.2 Info 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 ContactgetContact()@Nullable java.lang.StringgetDescription()java.util.Map<java.lang.String,java.lang.Object>getExtensions()map of all extension properties.@Nullable LicensegetLicense()@Nullable java.lang.StringgetSummary()@Nullable java.lang.StringgetTermsOfService()java.lang.StringgetTitle()java.lang.StringgetVersion()-
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
-
Info
public Info(Context context, io.openapiprocessor.jsonschema.schema.Bucket bucket)
-
-
Method Detail
-
getTitle
@Required public java.lang.String getTitle()
-
getSummary
public @Nullable java.lang.String getSummary()
-
getDescription
public @Nullable java.lang.String getDescription()
-
getTermsOfService
public @Nullable java.lang.String getTermsOfService()
-
getContact
public @Nullable Contact getContact()
-
getLicense
public @Nullable License getLicense()
-
getVersion
@Required public java.lang.String getVersion()
-
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
-
-