java.lang.Object
org.gcube.informationsystem.resourceregistry.rest.docs.OpenApiConfig

public class OpenApiConfig extends Object
Declares the base OpenAPI document metadata (info, license, servers, and the bearerAuth security scheme/requirement) picked up by the SmallRye OpenAPI Maven plugin at build time.

The version value above is a placeholder: the Maven build overrides it with ${project.version}. The generated openapi.json is further post-processed by a dedicated build step (a Python script run via exec-maven-plugin's postprocess-openapi execution) to reorder collections and apply adjustments the annotation-based generator cannot express — see the postprocess-openapi.py script under documentation/openapi/.

This class carries no executable code: it exists purely to host these class-level annotations.
Author:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • OpenApiConfig

      public OpenApiConfig()