getSbomHealthWithHttpInfo method

Future<Response> getSbomHealthWithHttpInfo()

Health is a pure liveness probe: the service is up; datastore reflects whether the datastore store is connected.

Health is a pure liveness probe: the service is up; datastore reflects whether the datastore store is connected. Not JWT-gated, always 200 (a disconnected datastore is degraded-but-alive; the data endpoints report that as 503).

Note: This method returns the HTTP Response.

Implementation

Future<Response> getSbomHealthWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/sbom/health';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}