...

Text file src/google.golang.org/api/google-api-go-generator/testdata/mapofany.json

Documentation: google.golang.org/api/google-api-go-generator/testdata

     1{
     2 "kind": "discovery#restDescription",
     3 "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/3m5rB86FE5KuW1K3jAl88AxCreg\"",
     4 "discoveryVersion": "v1",
     5 "id": "mapofany:v1",
     6 "name": "mapofany",
     7 "version": "v1",
     8 "title": "Example API",
     9 "description": "The Example API demonstrates an associative array.",
    10 "ownerDomain": "google.com",
    11 "ownerName": "Google",
    12 "protocol": "rest",
    13 "schemas": {
    14  "TableDataInsertAllRequest": {
    15   "id": "TableDataInsertAllRequest",
    16   "type": "object",
    17   "properties": {
    18    "kind": {
    19     "type": "string",
    20     "description": "The resource type of the response.",
    21     "default": "bigquery#tableDataInsertAllRequest"
    22    },
    23    "rows": {
    24     "type": "array",
    25     "description": "The rows to insert.",
    26     "items": {
    27      "type": "object",
    28      "properties": {
    29       "json": {
    30        "$ref": "JsonObject",
    31        "description": "[Required] A JSON object that contains a row of data. The object's properties and values must match the destination table's schema."
    32       }
    33      }
    34     }
    35    }
    36   }
    37  },
    38  "JsonObject": {
    39   "id": "JsonObject",
    40   "type": "object",
    41   "description": "Represents a single JSON object.",
    42   "additionalProperties": {
    43    "$ref": "JsonValue"
    44   }
    45  },
    46  "JsonValue": {
    47   "id": "JsonValue",
    48   "type": "any"
    49  }
    50 }
    51}

View as plain text