Releases: googleapis/api-linter
Releases · googleapis/api-linter
api-linter 1.13.0
Features
- Add rules for AIP-162 Rollback HTTP method and body (#744)
- Add rules for AIP-162 Commit request name behavior and resource reference (#736)
- Add rule for AIP-162 Rollback HTTP URI suffix (#740)
- Require URIs to begin with a forward slash. (#738)
- Add rule for AIP-162 Commit response message name (#733)
- Add rule for AIP-162 Commit request name field (#732)
- Add rule for AIP-162 Commit request message name (#730)
- Add rules for AIP-162 Commit HTTP body and method (#729)
Fixes
- Properly pick up
name
in DeleteRevision request URIs. (#743) - Do not complain about DELETE on DeleteRevision requests. (#742)
- Allow V1Main (version selector) in the C# namespace. (#735)
Other
- Add and more widely use helpers for field presence and singular-string type (#745)
api-linter 1.12.0
api-linter 1.11.0
api-linter 1.10.0
Features
- Add rule for UNORDERED_LIST field behavior (#719)
api-linter 1.9.0
api-linter 1.8.0
api-linter 1.7.1
api-linter 1.7.0
Features
- Add rules for AIP-144 HTTP method, HTTP body, request message name (#695)
- Declarative-friendly resources should avoid custom methods. (#693)
- Add rule to require Undelete methods for declarative-friendly resources (#689)
- Add rule for required standard fields. (#686)
Fixes
- Correct handling of top-level resources in parent-field lints (#691)
- Include missing tests for AddRules in AIP-128 and AIP-164 (#688)
Other
- Extract common lints into the util package to eliminate redundancy (#687)
api-linter 1.6.0
Features
- Add rule for AIP-128 reconciling field (#684)
- Add rule for AIP-128 annotations field. (#682)
- Add declarative-friendly logic to the Delete response check. (#681)
- Add LRO rule for Delete methods (declarative-friendly). (#679)
- Add LRO rule for Update methods (declarative-friendly). (#678)
- Add rules for AIP-164 Undelete (#676)
- Add LRO rule for Create methods (declarative-friendly). (#674)
- Add client-specified ID lint rule. (#673)
- Add rule for validate_only for declarative-friendly APIs. (#657)
- Add rule for
given_name
andfamily_name
. (#656) - Add three rules for AIP-154. (#655)
- Add rule to prevent optional and required together. (#654)
- Add
allow_missing
rule to AIP-134. (#651)
Fixes
- Permit ListRevisions methods to include their resource field. (#653)
- Loosen warnings around REQUIRED and OPTIONAL. (#652)
Documentation
api-linter 1.5.0
Features
- Add rule for AIP-235 response message name (#648)
- Add rule for AIP-235 soft-delete response resource field (#649)
- Add IsDeclarativeFriendly utility method. (#647)
- Add rules for unknown fields in batch requests (#646)
- Add rules for batch-method requests field behavior (#644)
- Add rule for AIP-235 request-names-field (#638)
- Add rules for batch-request names-field annotations (#637)
- Add request-parent-field rule for AIP-235 (#636)
Fixes
- Permit two-word top-level collections in the URI suffix. (#642)
- Fix erroneous logic for batch request-parent-field rules (#631)