RicoSuter / NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
http://NSwag.org
MIT License
6.61k stars 1.22k forks source link

Expose OpenAPI security in OperationModelBase #4900

Open qmmk opened 1 month ago

qmmk commented 1 month ago

Added an accessor for OpenApiSecurityRequirement to OperationModelBase, convert back to inherit Dictionary. Added initialization of the collection in OpenApiOperation class.

Ref issue #4899