Closed mkdotcs closed 2 years ago
Yes, the current version of the WorkingAPI project has a configuration that only enables the GET operations
Jeff
On Feb 25, 2022, at 14:33, MK dot CS @.***> wrote:
Fixes #24
Added AddInstantAPIs service with options to enable or disable swagger, and throw an exception if MapInstantAPIs is called without calling AddInstantAPIs first.
Note: When I ran your project (without modifications), I noticed that Swagger shows GET endpoint only!
You can view, comment on, or merge this pull request online at:
https://github.com/csharpfritz/InstantAPIs/pull/47
Commit Summary
8edd6fd OpenAPI implementation for InstantAPIs File Changes (5 files) M Fritz.InstantAPIs/Fritz.InstantAPIs.csproj (5) A Fritz.InstantAPIs/InstantAPIsServiceCollectionExtensions.cs (32) A Fritz.InstantAPIs/InstantAPIsServiceOptions.cs (17) M Fritz.InstantAPIs/WebApplicationExtensions.cs (146) M WorkingApi/Program.cs (21) Patch Links:
https://github.com/csharpfritz/InstantAPIs/pull/47.patch https://github.com/csharpfritz/InstantAPIs/pull/47.diff — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
Fixes #24
Added AddInstantAPIs service with options to enable or disable swagger, and throw an exception if MapInstantAPIs is called without calling AddInstantAPIs first.
Note: When I ran your project (without modifications), I noticed that Swagger shows GET endpoint only!