Azure / azure-functions-openapi-extension

This extension provides an Azure Functions app with Open API capability for better discoverability to consuming parties
https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenApi/
MIT License
370 stars 194 forks source link

Feature: split definitions to several swagger.json #624

Open HT-Xaris opened 11 months ago

HT-Xaris commented 11 months ago

Describe the issue We have several azure functions that are used for different applications. In order to offer a reduced definition to each consumer, we would like to be able to group the functions and generate a separate document per group. There are already the tags and it would be cool to be able to enable that one document is generated per tag.

Alternatively, we'd like to have a separate property that can be used explicitly for this and allow a function to be transferred to multiple documents.

Expected behavior

verdantburrito commented 10 months ago

@HT-Xaris Redocly CLI is open-source & can do this. Seems like you'd get the results you want by using that tool. There are probably other tools out there that can do the same job; this is just the first one that I thought of.