You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an option to be able to generate the json or yaml file from a cli command?
The idea is to generate the file locally, (during development) or during build process on the pipelines, and have the yaml file ready to be supplied to apim.
Is this possible?
The text was updated successfully, but these errors were encountered:
Unfortunately not. Due to the way Azure Functions operates, the Functions available are not known until runtime, as it requires a lot of parsing and loading of the script files. The only way that a CLI could do it is to essentially run the Functions host itself and then extract the metadata.
There's a new Functions programming model being developed (see Azure/azure-functions-nodejs-worker#480) that may open up some better options for OpenAPI support, but at the moment there's not a lot more I can do.
Hi...
Is there an option to be able to generate the json or yaml file from a cli command?
The idea is to generate the file locally, (during development) or during build process on the pipelines, and have the yaml file ready to be supplied to apim.
Is this possible?
The text was updated successfully, but these errors were encountered: