Skip to content
New issue

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

Replacing thread-safe version dictionary objects for SchemaRepository #2522

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shmilyyan
Copy link

I am trying to replace the GeneratePaths part of the logic of SwaggerGenerator with concurrent execution. I accidentally found that the dictionary storage structure in the SchemaRepository object is not thread-safe, which causes the logic of concurrent construction to not proceed normally, prompting an exception when adding a dictionary, here by replacing the storage structure solves this problem

@martincostello
Copy link
Collaborator

Thanks for contributing - if you'd like to continue with this pull request, please rebase against the default branch to pick up our new CI. Do the existing tests appropriately cover this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants