azure-functions-openapi-extension
azure-functions-openapi-extension copied to clipboard
This extension provides an Azure Functions app with Open API capability for better discoverability to consuming parties
I have an APIM resource in front of a function app. The swagger endpoints and the api endpoints are within the same function app resource but at the APIM, the...
Taken from the docs: ``` // Example public class CatExample : OpenApiExample { public override IOpenApiExample Build(NamingStrategy namingStrategy = null) { this.Examples.Add(OpenApiExampleResolver.Resolve("nabi", new Cat() { Id = 123, Name =...
There is an issue when trying to add the OpenApiRequestBody attribute with a "multipart/form-data" contentType. Trying to request the swagger.json returns an exception: "An item with the same key has...
I've created [this sample repo](https://github.com/comsenseinc/azurehttpfunctionopenapiissue) to demonstrate the exception outlined in the subject line. The details of the issue have been described in the README.md file of that repo. Would...
Using Microsoft.Azure.Functions.Worker.Extensions.OpenApi Version="0.8.1-preview" The [swagger ui](http://../api/swagger/ui) lists the functions/endpoints in a random order. It is not sorting by tag name or by function name. The corresponding [swagger.json](http://../api/swagger.json) is also unsorted....
**Describe the issue** In version 1.3, the current `ApiKey` in Azure Function configuration doing nothing. The `code` will always be the function key, and it could be authenticated by the...
**Describe the issue** Similar to #430, I have a need to be able to dynamically generate the IOpenApiConfigurationOptions at runtime as opposed to using a concrete class such as [DefaultOpenApiHttpTriggerAuthorization](https://github.com/Azure/azure-functions-openapi-extension/blob/main/src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Configurations/DefaultOpenApiHttpTriggerAuthorization.cs)...
Changes proposed in this pull request: - Updated to working cli to generate openapi document and handle multiple versions Have not added build to generate console app, but added support...
**Description** I have an API that returns a model that in turn contains another model, but from an external package, and one of the properties on that model is of...
**Describe the issue** When using [OpenApiRequestBody("application/json", typeof(CatInfo), Description = "See schema", Required = true)] with class object ``` public static class HelloCatFunction { [FunctionName("HelloCatFunction")] [OpenApiOperation(operationId: "Run", tags: new[] { "name"...