Skip to content
This repository was archived by the owner on Feb 7, 2020. It is now read-only.
This repository was archived by the owner on Feb 7, 2020. It is now read-only.

Swagger import Update Command -deletion of endpoints #19

@rathonit1

Description

@rathonit1

@schovi

An Updated on swagger import update command.

Looks like we need to modify it little bit, my Observations as follows:

If there is an existing endpoint configured in Mashery. And in swagger file somehow (mistakenly which is already running in production) deleted the endpoint or removed it.

And when we run swagger-import-update command, it deletes the endpoint from mashery which does not matches the names...

I think we should inform user about existing endpoint names and respective endpoint ID as a result that these are existing endpoints that are not available in swagger are present in mashery, if user want to delete them get confirmation else cancel it...

If user confirm to delete then we are good to go else we must not delete the endpoint which are not matching and get confirmation from user in such scenario.

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