openapi-generator-dart icon indicating copy to clipboard operation
openapi-generator-dart copied to clipboard

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

Open ricardoboss opened this issue 10 months ago • 0 comments

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 avatar Apr 09 '24 08:04 ricardoboss