Skip to content

Commit 38b8f60

Browse files
authored
Update broken JSON schema links (OpenAPITools#18565)
Using archive.org snapshots in case the URLs change again, like they apparently have in the past. Also fixing formal JavaDoc error, which does not allow bare URLs.
1 parent 73f2d82 commit 38b8f60

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/CodegenParameter.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,48 +76,48 @@ public class CodegenParameter implements IJsonSchemaValidationProperties {
7676
*/
7777
public boolean required;
7878
/**
79-
* See http://json-schema.org/latest/json-schema-validation.html#anchor17.
79+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-maximum">JSON Schema Validation Spec, Section 6.2.2</a>
8080
*/
8181
public String maximum;
8282
/**
83-
* See http://json-schema.org/latest/json-schema-validation.html#anchor17
83+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-exclusivemaximum">JSON Schema Validation Spec, Section 6.2.3</a>
8484
*/
8585
public boolean exclusiveMaximum;
8686
/**
87-
* See http://json-schema.org/latest/json-schema-validation.html#anchor21
87+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-minimum">JSON Schema Validation Spec, Section 6.2.4</a>
8888
*/
8989
public String minimum;
9090
/**
91-
* See http://json-schema.org/latest/json-schema-validation.html#anchor21
91+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-exclusiveminimum">JSON Schema Validation Spec, Section 6.2.5</a>
9292
*/
9393
public boolean exclusiveMinimum;
9494
/**
95-
* See http://json-schema.org/latest/json-schema-validation.html#anchor26
95+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-maxlength">JSON Schema Validation Spec, Section 6.3.1</a>
9696
*/
9797
public Integer maxLength;
9898
/**
99-
* See http://json-schema.org/latest/json-schema-validation.html#anchor29
99+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-minlength">JSON Schema Validation Spec, Section 6.3.2</a>
100100
*/
101101
public Integer minLength;
102102
/**
103-
* See http://json-schema.org/latest/json-schema-validation.html#anchor33
103+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-pattern">JSON Schema Validation Spec, Section 6.3.3</a>
104104
*/
105105
public String pattern;
106106
/**
107-
* See http://json-schema.org/latest/json-schema-validation.html#anchor42
107+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-maxitems">JSON Schema Validation Spec, Section 6.4.1</a>
108108
*/
109109
public Integer maxItems;
110110
/**
111-
* See http://json-schema.org/latest/json-schema-validation.html#anchor45
111+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-minitems">JSON Schema Validation Spec, Section 6.4.2</a>
112112
*/
113113
public Integer minItems;
114114
/**
115-
* See http://json-schema.org/latest/json-schema-validation.html#anchor49
115+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-uniqueitems">JSON Schema Validation Spec, Section 6.4.3</a>
116116
*/
117117
public boolean uniqueItems;
118118
private Boolean uniqueItemsBoolean;
119119
/**
120-
* See http://json-schema.org/latest/json-schema-validation.html#anchor14
120+
* See <a href="https://web.archive.org/web/20240502205731/https://json-schema.org/draft/2020-12/json-schema-validation#name-multipleof">JSON Schema Validation Spec, Section 6.2.1</a>
121121
*/
122122
public Number multipleOf;
123123
private Integer maxProperties;

0 commit comments

Comments
 (0)