mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 06:30:52 +00:00
update html2 samples
This commit is contained in:
parent
c4db27f24d
commit
0296380f00
@ -1 +1 @@
|
||||
5.3.0-SNAPSHOT
|
||||
6.0.1-SNAPSHOT
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user