Skip to content

Commit

Permalink
Merge pull request #16 from 1lutz/main
Browse files Browse the repository at this point in the history
Better OpenAPI Enums
  • Loading branch information
michaelmattig authored Aug 29, 2024
2 parents 4263113 + 42c0f01 commit 1d60234
Show file tree
Hide file tree
Showing 671 changed files with 7,537 additions and 18,593 deletions.
6 changes: 3 additions & 3 deletions .generation/config.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[input]
backendTag = pro-nightly-2024-07-17
backendTag = pro-nightly-2024-08-23

[general]
githubUrl = https://github.com/geo-engine/openapi-client

[python]
name = geoengine_openapi_client
version = 0.0.10
version = 0.0.11

[typescript]
name = @geoengine/openapi-client
version = 0.0.10
version = 0.0.11

7 changes: 7 additions & 0 deletions .generation/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def generate_python_code(*, package_name: str, package_version: str, package_url
],
check=True,
)
shutil.rmtree(Path("python") / "docs")


def generate_typescript_code(*, npm_name: str, npm_version: str, repository_url: str):
Expand Down Expand Up @@ -208,6 +209,12 @@ def generate_typescript_code(*, npm_name: str, npm_version: str, repository_url:
],
check=True,
)
with open(Path("typescript") / ".gitignore", 'w', encoding='utf-8') as f:
f.write('''wwwroot/*.js
node_modules
typings
''')
shutil.rmtree(Path("typescript") / ".openapi-generator")


def main():
Expand Down
Loading

0 comments on commit 1d60234

Please sign in to comment.