Azure / Azure/azure-openapi-validator
[new rule]: Check `type` of page size query parameters, like `maxpagesize` or `pagesize`. It should be integer.
Open
Customer-Request
sdk-rule
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 57
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
### Lint rule description
Check `type` of page size query parameters, like `maxpagesize` or `pagesize`. It should be integer.
### Related swagger example
See a relevant defect: https://github.com/Azure/azure-rest-api-specs/issues/17532 This is quite common in swagger definitions.
### Category
SDK
### Severity level
Warning
### Applies to
Management plane API spec, Data plane API spec, RPaaS API spec
### How to fix the violation
consider using integer type
### What's the impact if breaking the rule
impact user experience
Contributor guide
Assessment
This issue has not been assessed yet.