From 40044a3007027fe5dbe6009d46511ae4e1051492 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sat, 27 Aug 2022 13:47:51 +0800 Subject: [PATCH] update html2 samples --- .../documentation/html2/.openapi-generator/VERSION | 2 +- samples/documentation/html2/index.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/samples/documentation/html2/.openapi-generator/VERSION b/samples/documentation/html2/.openapi-generator/VERSION index 89648de3311..66672d4e9d3 100644 --- a/samples/documentation/html2/.openapi-generator/VERSION +++ b/samples/documentation/html2/.openapi-generator/VERSION @@ -1 +1 @@ -6.0.1-SNAPSHOT \ No newline at end of file +6.1.0-SNAPSHOT \ No newline at end of file diff --git a/samples/documentation/html2/index.html b/samples/documentation/html2/index.html index 99b899be5f2..a40148036cb 100644 --- a/samples/documentation/html2/index.html +++ b/samples/documentation/html2/index.html @@ -1535,6 +1535,7 @@ $(document).ready(function() { 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 { @@ -2306,6 +2307,7 @@ Status values that need to be considered for filter 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 { @@ -2715,6 +2717,7 @@ Tags to filter by 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 { @@ -3130,6 +3133,7 @@ ID of pet to return 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 { @@ -3610,6 +3614,7 @@ $(document).ready(function() { 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 { @@ -4529,6 +4534,7 @@ file to upload 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 { @@ -5190,6 +5196,7 @@ pub fn main() { 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 { @@ -5543,6 +5550,7 @@ ID of pet that needs to be fetched 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 { @@ -5963,6 +5971,7 @@ $(document).ready(function() { 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 { @@ -7758,6 +7767,7 @@ The name that needs to be fetched. Use user1 for testing. 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 { @@ -8217,6 +8227,7 @@ The password for login in clear text 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 {