-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Convert swagger.json to OAS 3.0 before generating SDK types (#…
- Loading branch information
1 parent
146b2e0
commit 36277cd
Showing
25 changed files
with
462 additions
and
900 deletions.
There are no files selected for viewing
49 changes: 0 additions & 49 deletions
49
packages/discovery-provider/src/api/v1/models/access_gate.py
This file was deleted.
Oops, something went wrong.
Empty file.
89 changes: 0 additions & 89 deletions
89
packages/discovery-provider/src/api/v1/models/extensions/fields.py
This file was deleted.
Oops, something went wrong.
76 changes: 0 additions & 76 deletions
76
packages/discovery-provider/src/api/v1/models/extensions/models.py
This file was deleted.
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
12 changes: 12 additions & 0 deletions
12
packages/discovery-provider/src/api/v1/models/wildcard_model.py
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 @@ | ||
from flask_restx import Model | ||
|
||
|
||
class WildcardModel(Model): | ||
"""Hack of the Model that allows the schema to be properly formatted for wildcard.""" | ||
|
||
@property | ||
def _schema(self): | ||
# Skip the schema for this and surface the child schema if the wildcard is found | ||
if "*" in self: | ||
return self["*"].__schema__ | ||
return super(WildcardModel, self)._schema() |
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
2 changes: 1 addition & 1 deletion
2
packages/libs/src/sdk/api/generated/default/.openapi-generator/VERSION
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 +1 @@ | ||
7.5.0-SNAPSHOT | ||
7.6.0-SNAPSHOT |
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
2 changes: 1 addition & 1 deletion
2
packages/libs/src/sdk/api/generated/full/.openapi-generator/VERSION
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 +1 @@ | ||
7.5.0-SNAPSHOT | ||
7.6.0-SNAPSHOT |
Oops, something went wrong.