Skip to content

@saflib/jobs-http


Function: buildOperationMap()

buildOperationMap(apiSpec): OperationMap

Walk a bundled OpenAPI document and map every operation_id to its HTTP method, path template, and whether it carries the background tag.

Parameters

ParameterType
apiSpecOpenApiDocument

Returns

OperationMap