Closed mkdotcs closed 2 years ago
I like where you've gone with this... and would suggest this starts on #24 There's more to this, such as adding notes and other configuration to swagger for the data types, etc...
Looks like there's a compile issue now, and I would like to see the swagger configuration loaded conditionally if the configuration options do not request it.
Another suggestion: can we inspect the services in the WebApplicationExtension and throw an appropriate error if the AddInstantAPIs method was not executed?
I moved swagger implementation to InstantAPIs project to reduce the amount of required code in the main project.
Added:
Updated:
Removed: