Bolisov / google-api-typings-generator

⚠️ This repo is no longer maintained and outdated, use active fork ⚠️
https://github.com/Maxim-Mazurok/google-api-typings-generator
8 stars 5 forks source link

Take into account `repeated` flag for types #8

Closed Maxim-Mazurok closed 4 years ago

Maxim-Mazurok commented 5 years ago

For example, gapi.client.sheets.spreadsheets.values.batchGet accepts either string or array of strings. This patch takes that into account.

"ranges": {
  "location": "query",
  "description": "The ranges to retrieve from the spreadsheet.",
  "type": "string",
  "repeated": true
}
Maxim-Mazurok commented 5 years ago

@declanvong it seems like you might have the most active fork, I'll be happy to contribute this change to your fork.

Maxim-Mazurok commented 4 years ago

Closing, because this and many other fixes were applied to the active fork: Maxim-Mazurok/google-api-typings-generator