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

Add option to _not_ update the file containing the @Openapi annotation #142

Open
ricardoboss opened this issue Apr 9, 2024 · 0 comments · May be fixed by #143
Open

Add option to _not_ update the file containing the @Openapi annotation #142

ricardoboss opened this issue Apr 9, 2024 · 0 comments · May be fixed by #143
Labels
bug Something isn't working

Comments

@ricardoboss
Copy link

Description of the bug

Whenever I build the client, the file containing the @Openapi annotation also gets updated. Generally, this is not a problem, but it causes two headaches:

  • noisy commits
  • wrong formatting

Steps to reproduce

Applies to any project using openapi_generator

Expected behavior

I would like to have the option to disable writing the timestamp back to the file or to move the timestamp to another file (so I can ignore it).

Logs

No response

Screenshots

No response

Platform

macOS

Library version

5.0.2

Flutter version

3.19.4

Flutter channel

stable

Additional context

No response

@ricardoboss ricardoboss added the bug Something isn't working label Apr 9, 2024
ricardoboss added a commit to ricardoboss/openapi-generator-dart that referenced this issue Apr 9, 2024
@ricardoboss ricardoboss linked a pull request Apr 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant