ThomasPow-9184 avatar image
0 Votes"
ThomasPow-9184 asked PramodValavala-MSFT commented

Import Azure Web app as an API


According to this documentation:
and this example:

one can import a web app that has an Open Api specification configured in an API definition, the APIM maps the paths, parameters and responens automaticly and does not use the wildcard type.

I'm creating a web app using Python and Flask, but I'm not sure what is required for the web app to conforme to the open api standard and how azure can recognize the paths?

I have tried using flasgger and also made a openapi.yaml definition in the root folder of the web app but azure does not seem to recognize the paths and instead import the web app using wildcards.

Any advice or documentation on this problem?

Best regards

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ThomasPow-9184 Could you confirm if you have set the publicly accessible URL for the generated spec from flasgger under API Definition?

0 Votes 0 ·

0 Answers