...

Text file src/google.golang.org/api/google-api-go-generator/testdata/wrapnewlines.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": "wrapnewlines:v1",
     6 "name": "wrapnewlines",
     7 "version": "v1",
     8 "title": "Example API",
     9 "description": "The Example API demonstrates wrapping of descriptions containing newlines.",
    10 "ownerDomain": "google.com",
    11 "ownerName": "Google",
    12 "protocol": "rest",
    13 "schemas": {
    14  "Thing": {
    15   "id": "Thing",
    16   "type": "object",
    17   "description": "don't care",
    18   "properties": {
    19    "oneline": {
    20     "type": "string",
    21     "description": "First sentence. Second sentence. Description is long enough to be wrapped."
    22    },
    23    "twoline": {
    24     "type": "string",
    25     "description": "First sentence.\nSecond sentence. Description is long enough to be wrapped."
    26    }
    27   }
    28  }
    29 }
    30}

View as plain text