Skip to content

Commit

Permalink
Client generation using latest openapi_spec package
Browse files Browse the repository at this point in the history
  • Loading branch information
walsha2 committed Aug 30, 2023
1 parent d4ee12e commit 8f02377
Show file tree
Hide file tree
Showing 32 changed files with 142 additions and 241 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ on:

jobs:
publish:
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
permissions:
id-token: 'write'
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.5.0

* Client generation using latest `openapi_spec` package

## 0.4.1

* Make dependencies flexible
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ download:
jq .oasDefinition | \
jq 'del(..|."x-readme"?)' --indent 2 > oas/openapi_vector.json

# Build the Dart client from the OpenAPI spec
build:
# Generate the Dart client from the OpenAPI spec
generate:
dart pub get
dart run oas/main.dart
dart run build_runner build --delete-conflicting-outputs
Expand Down
Loading

0 comments on commit 8f02377

Please sign in to comment.