You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pagination-response function currently only checks for the value and nextLink properties in the properties object of the response schema. But these properties could be defined in the children of an allOf in the response schema, so the code will need to nest down into the allOf to find the properties it is looking for.
And this will be complicated because it will also have to keep track of where it found those properties so it can set the paths correctly in any error messages that are issued.
The text was updated successfully, but these errors were encountered:
mikekistler
changed the title
az-pagination-response rule crashes if response schema has no properties
az-pagination-response must check allOf when looking for response schema properties
Jan 21, 2022
The
pagination-response
function currently only checks for thevalue
and nextLink properties in theproperties
object of the response schema. But these properties could be defined in the children of anallOf
in the response schema, so the code will need to nest down into the allOf to find the properties it is looking for.And this will be complicated because it will also have to keep track of where it found those properties so it can set the paths correctly in any error messages that are issued.
The text was updated successfully, but these errors were encountered: