azure-functions-openapi-extension icon indicating copy to clipboard operation
azure-functions-openapi-extension copied to clipboard

Feature request: Add support for manipulating schemas generation via ISchemaFilter

Open stephanruhland opened this issue 3 years ago • 3 comments

Describe the issue It would be nice to allow to implement custom logic to manipulate the generation of operations and schemas, similarly to what Swashbuckle provides: Extend Generator with Operation, Schema & Document Filters

Example use cases

  • Extend the schema when not using DataAnnotations but a different form of validation (e.g. the popular FluentValidation)
  • Change the handling of request or response types (like enums) via ISchemaFilter

This feature is a successor of feature request #376 after the support of IDocumentFilter where implemented.

stephanruhland avatar Mar 23 '22 15:03 stephanruhland

Would be so great if @justinyoo could take a look at this, please.

morrisonbrett avatar Apr 25 '22 22:04 morrisonbrett

This functionality would be useful for us since we want to migrate from in-process to isolated process and we had the ability with Swashbuckle previously

mathiasi avatar Nov 16 '23 08:11 mathiasi

+1

Hackmancoltaire avatar Jan 19 '24 01:01 Hackmancoltaire