You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
821 B

  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. }