From 826bfcce67c9683f09c4b6840ad12335e69cfec2 Mon Sep 17 00:00:00 2001 From: Tony Tam Date: Fri, 19 Aug 2016 12:27:32 -0700 Subject: [PATCH] added test spec --- test/specs/v2/formats.yaml | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 test/specs/v2/formats.yaml diff --git a/test/specs/v2/formats.yaml b/test/specs/v2/formats.yaml new file mode 100644 index 00000000..2fab8271 --- /dev/null +++ b/test/specs/v2/formats.yaml @@ -0,0 +1,46 @@ +swagger: '2.0' +info: + version: 0.0.0 + title: title + description: description with **markdown** format +tags: + - name: Admin + description: tag with **markdown** + - name: Xss + description: tag with **markdown** +paths: + /test: + get: + description: description with **markdown** format + summary: a summary with **markdown** format + responses: + 200: + description: a description with **markdown** format + schema: + $ref: '#/definitions/User' + post: + description: + summary: + consumes: + - + produces: + - + tags: + - Admin tasks + responses: + 200: + description: nothing +definitions: + User: + description: also with **markdown** + properties: + name: + description: prop with **markdown** + type: string + email: + $ref: '#/definitions/Email' + Email: + description: + type: string + format: email + example: \ No newline at end of file