aboutsummaryrefslogtreecommitdiffstats
path: root/www/swagger/spec-files/echo.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'www/swagger/spec-files/echo.yaml')
-rw-r--r--www/swagger/spec-files/echo.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/www/swagger/spec-files/echo.yaml b/www/swagger/spec-files/echo.yaml
new file mode 100644
index 0000000..258b14a
--- /dev/null
+++ b/www/swagger/spec-files/echo.yaml
@@ -0,0 +1,43 @@
+---
+swagger: '2.0'
+info:
+ version: 1.0.0
+ title: Echo
+ description: |
+ #### Echos back every URL, method, parameter and header
+ Feel free to make a path or an operation and use **Try Operation** to test it. The echo server will
+ render back everything.
+schemes:
+ - http
+host: mazimi-prod.apigee.net
+basePath: /echo
+paths:
+ /:
+ get:
+ responses:
+ 200:
+ description: Echo GET
+ post:
+ responses:
+ 200:
+ description: Echo POST
+ parameters:
+ - name: name
+ in: formData
+ description: name
+ type: string
+ - name: year
+ in: formData
+ description: year
+ type: string
+ /test-path/{id}:
+ parameters:
+ - name: id
+ in: path
+ description: ID
+ type: string
+ required: true
+ get:
+ responses:
+ 200:
+ description: Echo test-path