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
@StarProxima i can confirm same error for unknown_enum_value parameter.
I looked through source files and i found that at swagger_parser-1.17.3/lib/src/config/swp_config.dart:279 getting default config overrides only outputDirectory. So if no parameter was defined under schema it would take default value, which is for json_serializer is JsonSerializer.jsonSerializable.
Steps to reproduce
json_serializer: freezed
in swagger_parserjson_serializer
dart run swagger_parser
Expected results
for both schemas should be generated freezed files
Actual results
for both schemas generated
json_serializable
Your OpenApi snippet
Code sample
No response
Logs
Logs
[Paste your logs here]
Dart version and used packages versions
Dart version
Dart SDK version: 3.3.4 (stable) (Tue Apr 16 19:56:12 2024 +0000) on "macos_x64"
Packages version
swagger_parser: ^1.17.3
The text was updated successfully, but these errors were encountered: