Function App API definition (currently in preview) allows you to write an OpenAPI 2.0 (formerly, Swagger) definition inside a Function App. OpenAPI is a widely accepted industry specification, standardizing how REST APIs are described. The OpenAPI metadata produces a machine-readable definition that can be consumed by Microsoft and third-party software such as Postman or Runscope.
The API definition feature allows you to create the swagger.json metadata file hosted in your Function App. Once the metadata is generated, it is accessible via https://<YourFunctionApp>.azurewebsites.net/admin/host/swagger?code=<ApiKey>.
To learn how to generate an API definition, please visit https://docs.microsoft.com/en-us/azure/azure-functions/functions-api-definition. ...