Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.0.0 nullsafety #140

Merged
merged 16 commits into from Mar 29, 2021
1 change: 1 addition & 0 deletions .fvm/flutter_sdk
3 changes: 3 additions & 0 deletions .fvm/fvm_config.json
@@ -0,0 +1,3 @@
{
"flutterSdkVersion": "beta"
}
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -25,8 +25,6 @@ jobs:
run: flutter analyze
- name: Flutter test coverage
run: flutter test --coverage
- name: Remove some unnecessary files from coverage
run: flutter pub run remove_from_coverage -f coverage/lcov.info -r 'swagger_models' -r 'models'
- uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/master.yml
Expand Up @@ -17,8 +17,6 @@ jobs:
run: flutter pub get
- name: Flutter test coverage
run: flutter test --coverage
- name: Remove some unnecessary files from coverage
run: flutter pub run remove_from_coverage -f coverage/lcov.info -r 'swagger_models' -r 'models'
- uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 2.0.0-nullsafety.0

* Added support for null safety

# 1.7.0

* Added support of requestBody field for POST requests
Expand Down
1 change: 1 addition & 0 deletions example/build.yaml
Expand Up @@ -3,6 +3,7 @@ targets:
sources:
- lib/**
- swaggers/**
- swaggers2/**
- swagger_examples/**
- $package$
builders:
Expand Down
121 changes: 62 additions & 59 deletions example/lib/generated_code/example_swagger.swagger.chopper2.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.