Skip to content

az apim export to allow for specified file name #32209

@scottclark-TQL

Description

@scottclark-TQL

Related command
apim api export

Is your feature request related to a problem? Please describe.
some teams may need to export their api spec with a certain file name to be compatible with existing codegen/scripts

Describe the solution you'd like
add --file-name to save the eported file to a specified file name

Describe alternatives you've considered
the alternative it to manually rename the file which is automatically saved as f"{api_id}_{exportType}{file_extension}"

Additional context
This will enable teams to manually download swagger specs and import them into their codebase for use with codegen to instead run az apim export from their package.json and automatically codegen based on the filename already in their scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    API Managementaz apimAuto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions