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

Failed to create JSON from YAML if OpenApi specs contains property names that are Dart keywords #10

Open
ASKabanets opened this issue Sep 16, 2024 · 0 comments

Comments

@ASKabanets
Copy link

ASKabanets commented Sep 16, 2024

Example to handle:
`
@freezed()
class OperatorStringIs with _$OperatorStringIs {
const factory OperatorStringIs({
/// The name has been replaced because it contains a keyword. Original name: 'is'.
@jsonkey(name: 'is')
required String isValue,
}) = _OperatorStringIs;

}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant