Skip to content

Path replace has bug in window. #18

Open
@cxyxc

Description

Thanks for this project!

This line has bug in windows. Please fix it.Thanks.

https://github.com/fmvilas/openapi3-generator/blob/37231cfc8fb3bfde3320bc4fcf832dc84f35ccfb/lib/generator.js#L70

Maybe can use this.
const subdir = config.root.replace(config.templates_dir, '.');

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