extra-2018-08-02.normal.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2018-03-30",
  5. "endpointPrefix": "foo",
  6. "protocol": "rest-json",
  7. "serviceId": "Foo",
  8. "uid": "foo-2018-03-30"
  9. },
  10. "operations": {
  11. "FancyOperation": {
  12. "name" :"FancyOperation",
  13. "http": {
  14. "method": "GET",
  15. "requestUri": "/"
  16. },
  17. "input": {
  18. "shape": "FancyStructure"
  19. }
  20. },
  21. "BarOperation": {
  22. "name": "BarOperation",
  23. "http": {
  24. "method": "GET",
  25. "requestUri": "/"
  26. },
  27. "input": {
  28. "shape": "String"
  29. },
  30. "output": {
  31. "shape": "String"
  32. }
  33. },
  34. "EventStreamOnInputOperation": {
  35. "name": "EventStreamOnInputOperation",
  36. "http": {
  37. "method": "GET",
  38. "requestUri": "/"
  39. },
  40. "input": {
  41. "shape": "String"
  42. }
  43. },
  44. "EventStreamOnInputPayloadOperation": {
  45. "name": "EventStreamOnInputPayloadOperation",
  46. "http": {
  47. "method": "GET",
  48. "requestUri": "/"
  49. },
  50. "input": {
  51. "shape": "String"
  52. }
  53. },
  54. "EventStreamOnOutputOperation": {
  55. "name": "EventStreamOnOutputOperation",
  56. "http": {
  57. "method": "GET",
  58. "requestUri": "/"
  59. },
  60. "output": {
  61. "shape": "String"
  62. }
  63. },
  64. "EventStreamOnOutputPayloadOperation": {
  65. "name": "EventStreamOnOutputPayloadOperation",
  66. "http": {
  67. "method": "GET",
  68. "requestUri": "/"
  69. },
  70. "output": {
  71. "shape": "String"
  72. }
  73. },
  74. "BazOperation": {
  75. "name": "BazOperation",
  76. "http": {
  77. "method": "GET",
  78. "requestUri": "/"
  79. },
  80. "input": {
  81. "shape": "String"
  82. }
  83. }
  84. },
  85. "shapes": {
  86. "FancyStructure": {
  87. "type": "structure",
  88. "required": [],
  89. "members": {
  90. "Map": {
  91. "shape": "MapOfList"
  92. }
  93. }
  94. },
  95. "ListOfString": {
  96. "type": "list",
  97. "member": {
  98. "shape": "String"
  99. }
  100. },
  101. "ListOfList": {
  102. "type": "list",
  103. "member": {
  104. "shape": "ListOfString"
  105. }
  106. },
  107. "MapOfString": {
  108. "type": "map",
  109. "key": {
  110. "shape": "String"
  111. },
  112. "value": {
  113. "shape": "String"
  114. }
  115. },
  116. "MapOfList": {
  117. "type": "map",
  118. "key": {
  119. "shape": "String"
  120. },
  121. "value": {
  122. "shape": "ListOfString"
  123. }
  124. },
  125. "String": {
  126. "type": "string"
  127. },
  128. "BarOperationInput": {
  129. "type": "structure",
  130. "members": {
  131. "String": {
  132. "shape": "StringShape"
  133. }
  134. }
  135. },
  136. "BarOperationOutput": {
  137. "type": "structure",
  138. "members": {
  139. "String": {
  140. "shape": "StringShape"
  141. }
  142. }
  143. },
  144. "BazOperationInput": {
  145. "type": "structure",
  146. "members": {
  147. "BazString": {
  148. "shape": "BazStringShape",
  149. "timestampFormat": "iso8601"
  150. }
  151. }
  152. },
  153. "EventStreamPayload": {
  154. "type": "structure",
  155. "members": {
  156. "Payload": {
  157. "shape": "EventStreamStructure"
  158. },
  159. "payload": "Payload"
  160. }
  161. },
  162. "EventStreamStructure": {
  163. "type": "structure",
  164. "members": {
  165. "String": {
  166. "shape": "StringShape"
  167. }
  168. },
  169. "eventstream": true
  170. },
  171. "BazStringShape": {
  172. "type": "timestamp",
  173. "timestampFormat": "rfc822"
  174. },
  175. "StringShape": {
  176. "type": "string"
  177. }
  178. }
  179. }