The widget displays an API specification from a file in a GitLab repository or from a URL in OpenAPI (Swagger) or Protobuf format. For an OpenAPI specification in a YAML or JSON file, the widget displays the Swagger UI. In all other cases, it displays the specification as text.

General configuration

NameRequiredDescriptionPossible valuesDefault
Specification typeYesSpecification typeOpenAPI (Swagger), Protocol Buffers—
Source typeYesSource from which the specification file is loadedURL, GitLab—

Source type configuration: URL

NameRequiredDescriptionDefault
URLYesURL of the specification file—
HeadersNoHeaders used to access the specification file—

Source type configuration: GitLab

NameRequiredDescriptionDefault
GitLab URLYesGitLab URL—
Project IDYesID of the project containing the specification file—
BranchYesBranch containing the specification file—
File pathYesPath to the specification file relative to the repository root—

Authorization

Authorization is configured in External services.