Defining a service

A service can be defined in HCL Link in a number of ways.

  • The service and its endpoints can be manually entered.
  • A service can be imported from an OpenAPI URL, or file. The import process supports both Swagger V2 and OpenAPI V3 specificaitons.
  • Imported from a previously exported service.
  • Imported from a HCL Link REST configuration file.
A service definition contains the following information:
  • Service name.
  • The base URL. Endoints defined within the service can specify a path that is relative to this base URL.
  • Authentication
  • Retry strategy
  • Parameters