Skip to content

Feature Request: Generate swagger file when FunctionApp is compiled #366

@wsucoug69

Description

@wsucoug69

It would be great to have the ability to produce swagger.json or swagger.yaml when the FunctionApp is compiled.

Issue:
When we are running a pipeline (using a bicep template) to create the API operations (in Azure API Management), using the swagger URL for the FunctionApp. The swagger file is not accessible when the FunctionApp is configured with Authentication.

Workaround:
One workaround would be to have an option to output the swagger.json as part of the build where the bicep template cold reference the file locally.

any thoughts??

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions