Record Class ApiDocCatalog
java.lang.Object
java.lang.Record
io.fluxzero.sdk.web.ApiDocCatalog
Generic API documentation model extracted from Fluxzero web handlers.
This model is intentionally independent of OpenAPI. Renderers can transform it into OpenAPI or another documentation format.
-
Constructor Summary
ConstructorsConstructorDescriptionApiDocCatalog(List<ApiDocEndpoint> endpoints) Creates an instance of aApiDocCatalogrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theendpointsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApiDocCatalog
Creates an instance of aApiDocCatalogrecord class.- Parameters:
endpoints- the value for theendpointsrecord component
-
-
Method Details
-
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). -
endpoints
Returns the value of theendpointsrecord component.- Returns:
- the value of the
endpointsrecord component
-