diff --git a/samples/documentation/html2/.openapi-generator/VERSION b/samples/documentation/html2/.openapi-generator/VERSION
index 4b448de535c..89648de3311 100644
--- a/samples/documentation/html2/.openapi-generator/VERSION
+++ b/samples/documentation/html2/.openapi-generator/VERSION
@@ -1 +1 @@
-5.3.0-SNAPSHOT
\ No newline at end of file
+6.0.1-SNAPSHOT
\ No newline at end of file
diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html
index cce1eb7dd34..99b899be5f2 100644
--- a/samples/documentation/html2/index.html
+++ b/samples/documentation/html2/index.html
@@ -1531,6 +1531,10 @@ $(document).ready(function() {
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -2298,6 +2302,10 @@ Status values that need to be considered for filter
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -2703,6 +2711,10 @@ Tags to filter by
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -3114,6 +3126,10 @@ ID of pet to return
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -3590,6 +3606,10 @@ $(document).ready(function() {
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -4505,6 +4525,10 @@ file to upload
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -5162,6 +5186,10 @@ pub fn main() {
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -5511,6 +5539,10 @@ ID of pet that needs to be fetched
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -5927,6 +5959,10 @@ $(document).ready(function() {
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -7718,6 +7754,10 @@ The name that needs to be fetched. Use user1 for testing.
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {
@@ -8173,6 +8213,10 @@ The password for login in clear text
}
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
+ Object.keys(schema.properties).forEach( (item) => {
+ if (schema.properties[item].$ref != null) {
+ schema.properties[item] = defsParser.$refs.get(schema.properties[item].$ref);
+ }
} else if (schema.items != null && schema.items.$ref != null) {
schema.items = defsParser.$refs.get(schema.items.$ref);
} else {