Skip to content

Commit

Permalink
Merge pull request #471 from RepreZen/task/469
Browse files Browse the repository at this point in the history
[#469] Remove quotes from some ref placeholders (WIP)
  • Loading branch information
tfesenko committed Aug 28, 2018
2 parents 4d5b358 + 62cc24b commit e381663
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions com.reprezen.swagedit.openapi3/resources/templates.xml
Expand Up @@ -70,7 +70,7 @@ email: ${contact_email}</template>
content:
application/json:
schema:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
'404':
description: Not Found
patch:
Expand All @@ -80,7 +80,7 @@ email: ${contact_email}</template>
content:
"application/json":
schema:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
parameters:
- name: ${id}
in: path
Expand Down Expand Up @@ -128,15 +128,15 @@ email: ${contact_email}</template>
schema:
type: array
items:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
post:
description: Create a new ${item}
requestBody:
description: description
content:
"application/json":
schema:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
responses:
'201':
description: Created
Expand All @@ -159,15 +159,15 @@ email: ${contact_email}</template>
content:
application/json:
schema:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
put:
description: Create a new ${item}
requestBody:
description: description
content:
"application/json":
schema:
$$ref: "${itemSchema}"
$$ref: ${itemSchema}
responses:
'201':
description: Created
Expand Down Expand Up @@ -575,4 +575,4 @@ items:
'text/html':
schema:
$$ref: "${errorModel}"</template>
</templates>
</templates>

0 comments on commit e381663

Please sign in to comment.