Get service OpenAPI
GET/services/:service/openapi
Get the service OpenAPI 3.1 contract.
Request
Path Parameters
service stringrequired
Fully qualified service name.
Responses
- 200
- 400
- 403
- 404
- 409
- 500
- 503
OpenAPI 3.1 of the service
- application/json
- Schema
Schema
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
restate_codeRestate code (string)nullable
Restate error code describing this error
{
"message": "string",
"restate_code": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
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());