gibahjoe / openapi-generator-dart

Openapi Generator for Dart/Flutter
BSD 3-Clause "New" or "Revised" License
112 stars 29 forks source link

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

Open ricardoboss opened 2 months ago

ricardoboss commented 2 months ago

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:

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