OpenAPI configuration
OpenAPI document metadata, target servers, tags, and endpoint handler options are configured using standard HCL blocks.
Global specification metadata (server.openapi {})
Declared inside server {} to configure the global document header:
Global metadata attributes (server.openapi)
Endpoint handler attributes (endpoint.openapi)
Declared inside an endpoint block to serve a documentation UI or raw specification: