Skip to content

Unable to customize WARNING_MESSAGE #893

Closed
@hcz

Description

@hcz

Current warning message is exported but processed by prettier, so it is not easily replaceable

I suggest to expose the exact warning message, with the additional spaces, or to make it configurable.

 export const WARNING_MESSAGE = `/**
-* This file was auto-generated by openapi-typescript.
-* Do not make direct changes to the file.
-*/
+ * This file was auto-generated by openapi-typescript.
+ * Do not make direct changes to the file.
+ */

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions