An open API service indexing awesome lists of open source software.

https://github.com/aimenux/swaggerpolymorphismdemo

Using various ways to handle polymorphic object types in swagger documentation
https://github.com/aimenux/swaggerpolymorphismdemo

net90 polymorphic-types swagger webapi

Last synced: 11 months ago
JSON representation

Using various ways to handle polymorphic object types in swagger documentation

Awesome Lists containing this project

README

          

[![.NET](https://github.com/aimenux/SwaggerPolymorphismDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/SwaggerPolymorphismDemo/actions/workflows/ci.yml)

# SwaggerPolymorphismDemo
```
Using various ways to handle polymorphic object types in swagger documentation
```

In this repo, i m exploring various ways in order to handle polymorphic object types in swagger documentation.
>
> :one: Example01 : use of annotations way on a controller api style.
>
> :two: Example02 : use of fluent way on a controller api style.
>
> :three: Example03 : use of annotations way on a minimal api style.
>
> :four: Example04 : use of fluent way on a minimal api style.
>

**`Tools`** : net 9.0