From 62cc24b14d771344093c5a60f1c1b739819c0fce Mon Sep 17 00:00:00 2001 From: Andy Lowry Date: Tue, 28 Aug 2018 10:21:32 -0400 Subject: [PATCH] [#469] Remove quotes from some ref placeholders Where the same reference appears more than once in a single template, the placeholders are no longer quoted. This is due to observed buggy behavior by eclipse in filling templates. --- .../resources/templates.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/com.reprezen.swagedit.openapi3/resources/templates.xml b/com.reprezen.swagedit.openapi3/resources/templates.xml index 1d5c461d..07224d28 100644 --- a/com.reprezen.swagedit.openapi3/resources/templates.xml +++ b/com.reprezen.swagedit.openapi3/resources/templates.xml @@ -70,7 +70,7 @@ email: ${contact_email} content: application/json: schema: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} '404': description: Not Found patch: @@ -80,7 +80,7 @@ email: ${contact_email} content: "application/json": schema: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} parameters: - name: ${id} in: path @@ -128,7 +128,7 @@ email: ${contact_email} schema: type: array items: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} post: description: Create a new ${item} requestBody: @@ -136,7 +136,7 @@ email: ${contact_email} content: "application/json": schema: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} responses: '201': description: Created @@ -159,7 +159,7 @@ email: ${contact_email} content: application/json: schema: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} put: description: Create a new ${item} requestBody: @@ -167,7 +167,7 @@ email: ${contact_email} content: "application/json": schema: - $$ref: "${itemSchema}" + $$ref: ${itemSchema} responses: '201': description: Created @@ -575,4 +575,4 @@ items: 'text/html': schema: $$ref: "${errorModel}" - \ No newline at end of file +