Skip to content

[tooling] bin/spring-delegate.sh and bin/spring-delegate-j8.sh delete sample files in springboot directory #5063

@ePaul

Description

@ePaul
Description

Running the shell scripts bin/spring-delegate.sh or bin/spring-delegate-j8.sh deletes sample files in samples/server/petstore/springboot, which were not created by the same script, but by bin/springboot-petstore-server.sh.

Depending on the order of execution, you can end up with pom.xml and .swagger-codegen-ignore missing.

Swagger-codegen version

Happens with current master, I didn't check how much back.

Steps to reproduce

From the main directory, run bin/spring-delegate.sh, (or bin/spring-delegate-j8.sh) then git status. Some files are missing.

Suggest a Fix

I'll submit a pull request.

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