Skip to content

Commit 904ad32

Browse files
committed
fixed response schema issue on html2 generated doc.
1 parent 2b4ed6c commit 904ad32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/handlebars/htmlDocs2/index.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@
352352
<div id='responses-{{nickname}}-{{code}}-schema-{{code}}' style="padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;">
353353
<script>
354354
$(document).ready(function() {
355-
var schemaWrapper = {{{jsonSchema}}};
355+
var schemaWrapper = {{{../jsonSchema}}};
356356
var schema = schemaWrapper.content["{{extensions.x-content-type}}"].schema;
357357
if (schema.$ref != null) {
358358
schema = defsParser.$refs.get(schema.$ref);

0 commit comments

Comments
 (0)