Skip to main content

Get service OpenAPI

GET 

/services/:service/openapi

Get the service OpenAPI 3.1 contract.

Request

Path Parameters

    service stringrequired

    Fully qualified service name.

Responses

OpenAPI 3.1 of the service

Schema
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://main.documentation-beg.pages.dev/services/:service/openapi");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Parameters
— pathrequired