File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Microsoft.Azure.Functions.Worker.Extensions.OpenApi
Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Abstractions
Microsoft.Azure.WebJobs.Extensions.OpenApi Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public IDocument ApplyDocumentFilters(DocumentFilterCollection collection)
207207 {
208208 foreach ( var filter in collection . DocumentFilters )
209209 {
210- filter . Apply ( this . OpenApiDocument , this . _req ) ;
210+ filter . Apply ( this . _req , this . OpenApiDocument ) ;
211211 }
212212
213213 return this ;
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public interface IDocumentFilter
1010 /// <summary>
1111 /// This method is invoked after the <see cref="IDocument"/> has been built and just before it is rendered and returned to the client.
1212 /// </summary>
13- /// <param name="document">The generated document.</param>
1413 /// <param name="request">The HTTP request.</param>
15- void Apply ( OpenApiDocument document , IHttpRequestDataObject request ) ;
14+ /// <param name="document">The generated document.</param>
15+ void Apply ( IHttpRequestDataObject request , OpenApiDocument document ) ;
1616 }
1717}
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public IDocument ApplyDocumentFilters(DocumentFilterCollection collection)
202202 {
203203 foreach ( var filter in collection . DocumentFilters )
204204 {
205- filter . Apply ( this . OpenApiDocument , this . _req ) ;
205+ filter . Apply ( this . _req , this . OpenApiDocument ) ;
206206 }
207207
208208 return this ;
You can’t perform that action at this time.
0 commit comments