-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/847 openapi codegen limitations (#861)
* fix for oapi-generator inplace response schema problems *200 and []200. Need to use docs/openapi.yaml * Fix readOnly in model.saved-queries-permissions.yaml. * Previous fix to api.response.data-quality-platform-aggregate is now backwards compatible. * regenerated doc/openapi.json to include fixes to src spec. * x-go-name for deprecated parameters to avoid name collision in generated go code. Also finding which is not deprecated
- Loading branch information
1 parent
98d39e5
commit 4d81712
Showing
10 changed files
with
103 additions
and
80 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
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
6 changes: 6 additions & 0 deletions
6
packages/go/openapi/src/schemas/api.response.authenticated-requester.yaml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type: object | ||
properties: | ||
data: | ||
oneOf: | ||
- $ref: './../schemas/model.user.yaml' | ||
- $ref: './../schemas/model.client.yaml' |
12 changes: 12 additions & 0 deletions
12
packages/go/openapi/src/schemas/api.response.data-quality-platform-aggregate.yaml
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
allOf: | ||
- $ref: './../schemas/api.response.pagination.yaml' | ||
- $ref: './../schemas/api.response.time-window.yaml' | ||
- type: object | ||
properties: | ||
data: | ||
type: array | ||
items: | ||
oneOf: | ||
- $ref: './../schemas/model.ad-data-quality-aggregation.yaml' | ||
- $ref: './../schemas/model.azure-data-quality-aggregation.yaml' | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type: object | ||
properties: | ||
data: | ||
oneOf: | ||
- $ref: './../schemas/model.list-finding.yaml' | ||
- $ref: './../schemas/model.relationship-finding.yaml' |
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