Minor Changes
- #1844
ad7b7efThanks @TheeCoderAhmed! - AddemptyNotAsNever(--empty-not-as-never) to generateneverinstead ofanyfornot: {}andnot: true, which no value can satisfy. It is off by default, so generated output does not change unless you enable it.
Patch Changes
-
#1839
e67c3a7Thanks @cpruijsen! - Stop treating a colon inside a path segment as an Express-style path parameter.Routes using AIP-136 custom methods, such as
/v1/items:searchor/v1/items/{itemId}:archive,
generated a bogus requiredstringargument for the:suffixand dropped it from the request URL.
The generated method could only produce the correct path if the caller passed the literal":search".:paramNameis now recognized only at the start of a path segment, so/users/:userIdkeeps working
while mid-segment colons stay part of the literal path.