Class OpenApiDocumentEndpoint
java.lang.Object
io.fluxzero.sdk.web.OpenApiDocumentEndpoint
Automatic endpoint that serves the generated OpenAPI document for an
ApiDocInfo scope.
All "META-INF/fluxzero/openapi.json" resources visible to the handler class loader are combined in stable resource order. Compatible object members are merged, exact duplicates are accepted, and conflicting metadata, routes, operation ids, or components fail during handler registration. A resource produced by an application shade transformer may contain multiple consecutive JSON documents. Runtime extraction is used only when no compiled or manually supplied resource is present.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic List<OpenApiDocumentEndpoint> forHandler(Class<?> handlerType, Object handler) inthashCode()voidLoads and validates compiled OpenAPI resources.
-
Method Details
-
forHandler
-
validateResources
public void validateResources()Loads and validates compiled OpenAPI resources. Handler registration invokes this once for each distinct automatic document endpoint so resource conflicts fail before the endpoint starts serving requests. -
equals
-
hashCode
-