Skip to content

Commit ee79aa1

Browse files
Restored src/* and tests/*
1 parent d8af546 commit ee79aa1

File tree

62 files changed

+4643
-2177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4643
-2177
lines changed

src/oas.md

Lines changed: 3012 additions & 2034 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
$id: https://spec.openapis.org/oas/3.1/dialect/WORK-IN-PROGRESS
1+
$id: https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS
22
$schema: https://json-schema.org/draft/2020-12/schema
33

4-
title: OpenAPI 3.1 Schema Object Dialect
5-
description: A JSON Schema dialect describing schemas found in OpenAPI v3.1 Descriptions
4+
title: OpenAPI 3.2 Schema Object Dialect
5+
description: A JSON Schema dialect describing schemas found in OpenAPI v3.2.x Descriptions
66

77
$dynamicAnchor: meta
88

@@ -14,8 +14,8 @@ $vocabulary:
1414
https://json-schema.org/draft/2020-12/vocab/meta-data: true
1515
https://json-schema.org/draft/2020-12/vocab/unevaluated: true
1616
https://json-schema.org/draft/2020-12/vocab/validation: true
17-
https://spec.openapis.org/oas/3.1/vocab/base: false
17+
https://spec.openapis.org/oas/3.2/vocab/base: false
1818

1919
allOf:
2020
- $ref: https://json-schema.org/draft/2020-12/schema
21-
- $ref: https://spec.openapis.org/oas/3.1/meta/WORK-IN-PROGRESS
21+
- $ref: https://spec.openapis.org/oas/3.2/meta/WORK-IN-PROGRESS

src/schemas/validation/meta.yaml

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1-
$id: https://spec.openapis.org/oas/3.1/meta/WORK-IN-PROGRESS
1+
$id: https://spec.openapis.org/oas/3.2/meta/WORK-IN-PROGRESS
22
$schema: https://json-schema.org/draft/2020-12/schema
33

44
title: OAS Base Vocabulary
5-
description: A JSON Schema Vocabulary used in the OpenAPI Schema Dialect
5+
description: A JSON Schema Vocabulary used in the OpenAPI JSON Schema Dialect
66

77
$dynamicAnchor: meta
88

99
$vocabulary:
10-
https://spec.openapis.org/oas/3.1/vocab/base: true
10+
https://spec.openapis.org/oas/3.2/vocab/base: true
1111

1212
type:
1313
- object
1414
- boolean
1515
properties:
1616
discriminator:
1717
$ref: '#/$defs/discriminator'
18-
example: true
18+
example:
19+
deprecated: true
1920
externalDocs:
2021
$ref: '#/$defs/external-docs'
2122
xml:
@@ -29,10 +30,10 @@ $defs:
2930
additionalProperties:
3031
type: string
3132
type: object
33+
defaultMapping:
34+
type: string
3235
propertyName:
3336
type: string
34-
required:
35-
- propertyName
3637
type: object
3738
unevaluatedProperties: false
3839

@@ -55,16 +56,31 @@ $defs:
5556
xml:
5657
$ref: '#/$defs/extensible'
5758
properties:
58-
attribute:
59-
type: boolean
59+
nodeType:
60+
type: string
61+
enum:
62+
- element
63+
- attribute
64+
- text
65+
- cdata
66+
- none
6067
name:
6168
type: string
6269
namespace:
63-
format: uri
70+
format: iri
6471
type: string
6572
prefix:
6673
type: string
74+
attribute:
75+
type: boolean
76+
deprecated: true
6777
wrapped:
6878
type: boolean
79+
deprecated: true
6980
type: object
81+
dependentSchemas:
82+
nodeType:
83+
properties:
84+
attribute: false
85+
wrapped: false
7086
unevaluatedProperties: false
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
$id: 'https://spec.openapis.org/oas/3.1/schema-base/WORK-IN-PROGRESS'
1+
$id: 'https://spec.openapis.org/oas/3.2/schema-base/WORK-IN-PROGRESS'
22
$schema: 'https://json-schema.org/draft/2020-12/schema'
33

4-
description: The description of OpenAPI v3.1.x Documents using the OpenAPI JSON Schema dialect
4+
description: The description of OpenAPI v3.2.x Documents using the OpenAPI JSON Schema dialect
55

6-
$ref: 'https://spec.openapis.org/oas/3.1/schema/WORK-IN-PROGRESS'
6+
$ref: 'https://spec.openapis.org/oas/3.2/schema/WORK-IN-PROGRESS'
77
properties:
88
jsonSchemaDialect:
99
$ref: '#/$defs/dialect'
1010

1111
$defs:
1212
dialect:
13-
const: 'https://spec.openapis.org/oas/3.1/dialect/WORK-IN-PROGRESS'
13+
const: 'https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS'
1414

1515
schema:
1616
$dynamicAnchor: meta
17-
$ref: 'https://spec.openapis.org/oas/3.1/dialect/WORK-IN-PROGRESS'
17+
$ref: 'https://spec.openapis.org/oas/3.2/dialect/WORK-IN-PROGRESS'
1818
properties:
1919
$schema:
2020
$ref: '#/$defs/dialect'

0 commit comments

Comments
 (0)