We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This would be a breaking change but one easy to change and update existing processors.
The pipeline is already async-ready:
public async Task<SwaggerDocument> GenerateForControllersAsync(IEnumerable<Type> controllerTypes) { var document = await CreateDocumentAsync(Settings).ConfigureAwait(false); var schemaResolver = new SwaggerSchemaResolver(document, Settings); foreach (var controllerType in controllerTypes) await GenerateForControllerAsync(document, controllerType, new SwaggerGenerator(_schemaGenerator, Settings, schemaResolver)).ConfigureAwait(false); document.GenerateOperationIds(); foreach (var processor in Settings.DocumentProcessors) processor.Process(new DocumentProcessorContext(document, controllerTypes, schemaResolver, _schemaGenerator)); return document; }
The text was updated successfully, but these errors were encountered:
We should definitely do that. The question is whether to break or support backward comp. (ie two interfaces, processors as list of object).
Sorry, something went wrong.
69524d5
No branches or pull requests
This would be a breaking change but one easy to change and update existing processors.
The pipeline is already async-ready:
The text was updated successfully, but these errors were encountered: