这是indexloc提供的服务,不要输入任何密码
Skip to content

apigeecli apis create openapi - Provide more flexibility into defining Apigee basepath and target-url #15

@carlosmscabral

Description

@carlosmscabral

Currently, the apigeecli apis create openapi command provides a very strict interpretation of the "servers.url" parameter in the OAS file - whatever is defined in the host portion of the URL becomes the Target URL; whatever comes after it, becomes the basepath. This breaks scenarios where the actual "target.url" is something like https://petstore3.swagger.io/api/v3 - that is, a URI with multiple components. I can't easily (without setting target.url elsewhere manually) change the target.url interpretation. This can be only changed with a parameter pointing to a propertyset.

My suggestion is adding a new flag to the command where we can force a string to be the target.url we want.

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