You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run the command dart run build_runner build --delete-conflicting-outputs, and the output said the generation is succeded, but no file is created.
[INFO] openapi_generator on lib/api.dart:Codegen completed successfully.
[INFO] openapi_generator on lib/api.dart:Sources generated successfully.
[INFO] openapi_generator on lib/api.dart:Successfully formatted code.
[INFO] openapi_generator on lib/api.dart:Skip spec cache because [skipIfSpecIsUnchanged] is set to false
[INFO] openapi_generator on lib/api.dart:Found generated timestamp. Updating with 2025-01-02T17:06:11.993291
[INFO] Running build completed, took 16.8s
[INFO] Caching finalized dependency graph completed, took 56ms
[INFO] Succeeded after 16.8s with 26 outputs (53 actions)
Well turns out there is some field (info.version) in the spec file missing, and the openapi generator failed to pass the check. But I would like this package would populate the error out than to say successed but in deed it doesn't.
Description of the bug
run the command
dart run build_runner build --delete-conflicting-outputs
, and the output said the generation is succeded, but no file is created.Steps to reproduce
here is the reproduction repo: https://github.com/dum3ng/openapi.git
no file is generated under the folder
api/auth_api
Minimal openapi specification
It's in the file
auth.json
in the repo mentioned above .Annotation used
it's in the repo mentioned above,
lib/api.dart
:Expected behavior
The generated api client should be in the
api/auth_api
folder.Logs
No response
Screenshots
No response
Platform
Linux
Library version
6.1.0
Flutter version
3.24.3
Flutter channel
stable
Additional context
No response
The text was updated successfully, but these errors were encountered: