jexia / semaphore

Take control of your data, connect with anything, and expose it anywhere through protocols such as HTTP, GraphQL, and gRPC.

Home Page:https://jexia.github.io/semaphore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include generated by header

jeroenrinzema opened this issue · comments

A generated by header should be included in the files generated by the generator. The header should notify that the generated files should not be edited manually and a timestamp of when the given output has been generated.

$ semaphore generate openapi3
// Code generated by Semaphore. DO NOT EDIT.
// Semaphore version: v2.0.0
// Timestamp: Thu, 01 Oct 2020 14:02:49 GMT

The examples could be used to test the Semaphore generator.

https://github.com/jexia/semaphore/tree/master/cmd/semaphore/generate

can I take this one up ?

@naivcit of course feel free to create a new PR to include this feature.

Thanks @jeroenrinzema will start working on this right away