-
Notifications
You must be signed in to change notification settings - Fork 190
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
Feature/#156 list of recursive models #233
Feature/#156 list of recursive models #233
Conversation
Signed-off-by: Thomas Solbjør <220551+tsolbjor@users.noreply.github.com>
Signed-off-by: Thomas Solbjør <220551+tsolbjor@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tsolbjor Thanks for your PR! I like the idea you implemented!
Could you please add the same logic where you put into ListObjectTypeVisotor
to DictionaryObjectTypeVisotor
so that both array types and dictionary types work in the same way as each other?
samples/Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.Models/DummyResponseModel.cs
Show resolved
Hide resolved
src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Visitors/ListObjectTypeVisitor.cs
Show resolved
Hide resolved
...WebJobs.Extensions.OpenApi.TestApp/Microsoft.Azure.WebJobs.Extensions.OpenApi.TestApp.csproj
Outdated
Show resolved
Hide resolved
…Visitor Signed-off-by: Thomas Solbjør <220551+tsolbjor@users.noreply.github.com>
...re.WebJobs.Extensions.OpenApi.TestApp/Get_ApplicationJson_GenericAndRecursive_HttpTrigger.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tsolbjor Thanks for your PR! It LGTM!
Keep track of the subAcceptors that have been applied and do not run multiple times for the same type.
#156