Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use name "Swagger" more and switch to use
IOptions<T>
for middleware
- move `PostProcess` document from `SwaggerDocumentSettings` to `SwaggerMiddlewareOptions` - adjust `SwaggerDocumentProvider` to match, breaking some `IDocumentProvider` scenarios (!!) - rename a few classes to use "Swagger" more - split extensions into type-specific classes with appropriate namespaces - fix `SwaggerMiddlewareOptions.SwaggerRoute` being invalid from a Microsoft.AspNetCore.Routing perspective - change `SwaggerBuilderExtensions` to support creating documents with `SchemaType.OpenApi3` default - change `SwaggerApplicationBuilderExtensions` to - split `UseSwagger(...)` from `UseSwaggerReDocUi(...)` and `UseSwaggerUi4(...)` - add UI middleware supporting a single `documentName` "Reviewers:" comments ask make suggestions for future improvements / extensions and ask for better names
- Loading branch information