Skip to content

Commit 7478523

Browse files
committed
docs: adds the removed types from IOpenAny
Signed-off-by: Vincent Biret <[email protected]>
1 parent 2b159ad commit 7478523

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/upgrade-guide-2.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,28 @@ In v2, the equivalent code would be,
144144

145145
```
146146

147+
> Note: as part of this change, the following types have been removed from the library:
148+
>
149+
> - AnyType
150+
> - IOpenApiAny
151+
> - OpenApiAnyCloneHelper
152+
> - OpenApiArray
153+
> - OpenApiBinary
154+
> - OpenApiBoolean
155+
> - OpenApiByte
156+
> - OpenApiDate
157+
> - OpenApiDateTime
158+
> - OpenApiDouble
159+
> - OpenApiFloat
160+
> - OpenApiInteger
161+
> - OpenApiLong
162+
> - OpenApiNull
163+
> - OpenApiObject
164+
> - OpenApiPassword
165+
> - OpenApiPrimitive
166+
> - OpenApiString
167+
> - PrimitiveType
168+
147169
### Updates to OpenApiSchema
148170

149171
The OpenAPI 3.1 specification changes significantly how it leverages JSON Schema. In 3.0 and earlier, OpenAPI used a "subset, superset" of JSON Schema draft-4. This caused many problems for developers trying to use JSON Schema validation libraries with the JSON Schema in their OpenAPI descriptions. In OpenAPI 3.1, the 2020-12 draft version of JSON Schema was adopted and a new JSON Schema vocabulary was adopted to support OpenAPI specific keywords. All attempts to constrain what JSON Schema keywords could be used in OpenAPI were removed.

0 commit comments

Comments
 (0)