Skip to content

Commit 8c326d1

Browse files
authored
Merge pull request #7 from cloudbeds/chore/backport-from-main
chore: backport from main changes
2 parents 48b1029 + 83f9db1 commit 8c326d1

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666

6767
- name: Install OpenAPI generator
6868
run: |
69-
curl -s https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.9.0/openapi-generator-cli-$(cat .openapi-generator/VERSION).jar -o openapi-generator-cli.jar
69+
OPENAPI_GENERATOR_VERSION=$(cat .openapi-generator/VERSION)
70+
curl -s https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/$OPENAPI_GENERATOR_VERSION/openapi-generator-cli-$OPENAPI_GENERATOR_VERSION.jar -o openapi-generator-cli.jar
7071
7172
- name: Bump version in VERSION and openapitools.json
7273
run: |
@@ -75,6 +76,7 @@ jobs:
7576
7677
- name: Generate API docs
7778
run: |
79+
find $(cat PACKAGE) -mindepth 1 ! -name 'py.typed' -delete
7880
java -jar openapi-generator-cli.jar generate -c openapitools.json
7981
8082
- name: Git Setup

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.9.0
1+
7.11.0

cloudbeds_pms_v1_2/py.typed

Whitespace-only changes.

openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"generator-cli": {
3-
"version": "7.9.0"
3+
"version": "7.11.0"
44
},
55
"generatorName": "python",
66
"inputSpec": "public_accessa/api/v1.2/docs/cb-v1.2-openapi-3.0.1.yaml",

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,6 @@ where = ["."]
5858

5959
[tool.setuptools.dynamic]
6060
version = { file = "VERSION" }
61+
62+
[tool.setuptools.package-data]
63+
"cloudbeds_pms_v1_2" = ["py.typed"]

0 commit comments

Comments
 (0)