-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opa: generate using updated OpenAPI spec (#198)
* opa: adapt porcelain code to generated changes * ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.376.0 Co-authored-by: speakeasybot <[email protected]>
- Loading branch information
1 parent
6ef5d1d
commit 9604a4c
Showing
18 changed files
with
144 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
...docs/sdk/models/components/servererror.md → ...s/components/servererrorwithstatuscode.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# ServerError | ||
# ServerErrorWithStatusCode | ||
|
||
## Example Usage | ||
|
||
```typescript | ||
import { ServerError } from "@styra/opa/sdk/models/components"; | ||
import { ServerErrorWithStatusCode } from "@styra/opa/sdk/models/components"; | ||
|
||
let value: ServerError = { | ||
let value: ServerErrorWithStatusCode = { | ||
httpStatusCode: "200", | ||
code: "<value>", | ||
message: "<value>", | ||
decisionId: "b84cf736-213c-4932-a8e4-bb5c648f1b4d", | ||
httpStatusCode: "200", | ||
}; | ||
``` | ||
|
||
## Fields | ||
|
||
| Field | Type | Required | Description | Example | | ||
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | | ||
| `httpStatusCode` | *string* | :heavy_minus_sign: | N/A | 200 | | ||
| `code` | *string* | :heavy_check_mark: | N/A | | | ||
| `message` | *string* | :heavy_check_mark: | N/A | | | ||
| `errors` | [components.Errors](../../../sdk/models/components/errors.md)[] | :heavy_minus_sign: | N/A | | | ||
| `decisionId` | *string* | :heavy_minus_sign: | N/A | b84cf736-213c-4932-a8e4-bb5c648f1b4d | | ||
| `httpStatusCode` | *string* | :heavy_minus_sign: | N/A | 200 | | ||
| `decisionId` | *string* | :heavy_minus_sign: | N/A | b84cf736-213c-4932-a8e4-bb5c648f1b4d | |
Oops, something went wrong.