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
All the customizable response in the arm template only accepts model. But there are cases whose response is array.
"200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/VirtualMachineImageResource" } } }
However, if I write this operation like this
listPublishers is ArmProviderActionSync< Response = { @bodyRoot body: VirtualMachineImageResource[] } >;
The emitted swagger doesn't have x-ms-pageable, which raises ci failure:
x-ms-pageable
x-ms-pageable extension must be specified for LIST APIs.
If I write this operation like this
listPublishers is ComputeProviderActionSync< Response = Page<VirtualMachineImageResource>, >;
It's actually not correct because Page<> is not an array, which also leads to the mismatch with the existing example data.
Page<>
The text was updated successfully, but these errors were encountered:
how is it pageable if it just returns an array, what paging mechanism does it use?
Sorry, something went wrong.
pshao25
No branches or pull requests
All the customizable response in the arm template only accepts model. But there are cases whose response is array.
However, if I write this operation like this
The emitted swagger doesn't have
x-ms-pageable
, which raises ci failure:If I write this operation like this
It's actually not correct because
Page<>
is not an array, which also leads to the mismatch with the existing example data.The text was updated successfully, but these errors were encountered: