- A new rule.
- A new rule.
- OperationIdRequired rule - each operation must has a unique operationId.
- Changed the linter rule BodyTopLevelProperties -- support
systemData
top level property - Changed the linter rule PatchBodyParametersSchema -- allow required property which be marked as descrimintor
- when x-ms-path contains OData, it will fail the SwaggerParser.Parse. fix this bug, and add a test to it.
- LongRunningOperationsOptionsValidator rule - The rule will check if a post LRO operation has "x-ms-long-running-operation-options" extension enabled. Refer Issue #172, PR #179 and PR #4039 for further details.
- PageableOperation rule - The rule will check if a get operation returns a schema (with 3 or less properties) with an array property. If it is so, the linter will suggest the operation might be pagebale. Refer PR #161 for further details.
- Removed the Category RPCViolation and renamed it to ARMViolation in both dotnet and typescript linters.
- Changed the linter rule XmsExamplesRequired -- it now has a Category of
Documentation
and an id ofD5001
. Refer Issue #189 for further details.
- Fixed Typo in AllowedTopLevelProperties list in BodyTopLevelProperties rule.Refer Issue #144 and PR #146 for further details.
- XmsParameterLocation - Any global parameter (other than subscription Id and API Version) must have the "x-ms-parameter-location" extension applied. If the parameter should be a client parameter, then the extension must have the value "client". Else, it must have the have "method". Refer Issue #84 and PR #2649 for further details.
- Fixed camel case suggestions, lowercasing the first character.
- Both dotnet and typescript sections can be debugged again.
- Fixed errors in the application of
NotNodeName
rule.
- Correcting path retruned by PostOperationIdContainsUrlVerb rule
- Added zones as allowed top level properties
- Better camelcased suggestions
- Better handling of empty operationIds in OpenAPI specs
- Case insensitive checks for top level resource properties
- Better messaging for tracked resources related rules
- ArraySchemaMustHaveItems – A schema of array type must always contain an items property. without it, AutoRest will fail to generate an SDK. Documentation link Category: SDK Error
- LicenseHeaderMustNotBeSpecified - x-ms-code-generation-settings must not have the license section specified in the OpenAPI documents since each generated SDK can have a different licensing header. This information must be provided either from the command line or the configuration file when actually generating the sdk. Documentation link Category : SDK Warning
- PostOperationIdContainsUrlVerb - A POST operation's operationId should contain the verb indicated at the end of the corresponding url. Documentation link Category : SDK Warning
-
Ensure Top level properties cannot be outside a fixed set. Linked issue
-
Add Message about tenant level resources to ListByResourceGroup and ListBySubcription. Linked issue
-
Ensuring validating items property must exist for an array type.
-
Better path reporting for R3010. Linked issue
-
Filtering resource models returned only by post. Linked issue
-
Adding rule categorizations (Merge state and document type) to validation rules. Linked issue