Skip to content

Commit ac133e9

Browse files
@W-21064406 - Fix the schema url for VizQL Data Service http endpoint #16 (#17) (#18)
* squash commit * include release branch
1 parent 1477edc commit ac133e9

5 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/pull.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7+
- 'release-*'
78

89
jobs:
910
generateStub:

.github/workflows/push.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- 'release-*'
78

89
jobs:
910
generateStub:

VizQLDataServiceOpenAPISchema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"servers": [
99
{
10-
"url": "/vizql-data-service/v1"
10+
"url": "/api/v1/vizql-data-service"
1111
}
1212
],
1313
"paths": {

python_sdk/scripts/generate_stub.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ REM Print commands as they are executed
88
echo on
99

1010
REM Install required packages
11-
pip install datamodel-code-generator
11+
pip install datamodel-code-generator==0.43.1
1212

1313
REM Generate client code
1414
datamodel-codegen --input ../VizQLDataServiceOpenAPISchema.json --output-model-type pydantic_v2.BaseModel --input-file-type openapi --output src/api/openapi_generated-raw.py --use-annotated --base-class TableauModel

python_sdk/scripts/generate_stub.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -e
66
# Print commands as they are executed
77
set -x
88

9-
pip install datamodel-code-generator
9+
pip install datamodel-code-generator==0.43.1
1010

1111
# Generate client code
1212
datamodel-codegen --input ../VizQLDataServiceOpenAPISchema.json --output-model-type pydantic_v2.BaseModel --input-file-type openapi --output src/api/openapi_generated-raw.py --use-annotated --base-class TableauModel

0 commit comments

Comments
 (0)