Record Class OpenApiOptions
java.lang.Object
java.lang.Record
io.fluxzero.sdk.web.OpenApiOptions
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenApiOptionsdefaults()Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static OpenApiOptionsReturns the value of theopenApiVersionrecord component.servers()Returns the value of theserversrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Field Details
-
DEFAULT_OPENAPI_VERSION
- See Also:
-
-
Constructor Details
-
OpenApiOptions
-
OpenApiOptions
public OpenApiOptions(String title, String version, String description, List<String> servers, String openApiVersion) Creates an instance of aOpenApiOptionsrecord class.- Parameters:
title- the value for thetitlerecord componentversion- the value for theversionrecord componentdescription- the value for thedescriptionrecord componentservers- the value for theserversrecord componentopenApiVersion- the value for theopenApiVersionrecord component
-
-
Method Details
-
defaults
-
of
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
servers
-
openApiVersion
Returns the value of theopenApiVersionrecord component.- Returns:
- the value of the
openApiVersionrecord component
-