You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: draft-release-notes.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,13 @@ What's coming up? Look at `src/oas.md` on the relevant development branch for fu
29
29
- support new `name` field alongside `description`, `url` and `variables`.
30
30
- formal path templating support for variable substitution in server urls.
31
31
32
-
### Discriminator
32
+
### Code Generation
33
33
34
-
- no change from previous versions: use `discriminator` to hint which entry in `anyOf` or `oneOf` is expected.
35
-
- no change from previous versions: use `mapping` to link the discriminator property value to the Schema name if they aren't an exact match.
36
34
- the discriminator `propertyName` can now be an optional field.
37
35
- additional `defaultMapping` field to indicate which schema to use if the `propertyName` is not set, or if the value is unrecognized.
36
+
- no change from previous versions: use `discriminator` to hint which entry in `anyOf` or `oneOf` is expected.
37
+
- no change from previous versions: use `mapping` to link the discriminator property value to the Schema name if they aren't an exact match.
38
+
- Implementations now SHOULD (rather than MAY) support templates/generics using `$dynamicRef`
38
39
39
40
### Reference resolution
40
41
@@ -44,6 +45,10 @@ What's coming up? Look at `src/oas.md` on the relevant development branch for fu
44
45
45
46
### Improvements for APIs using XML as a content format
46
47
48
+
- New `nodeType` field allows maping schemas to all common XML node types (elements, attributes, text, or cdata) or to nothing
49
+
-`attribute: true` deprecated in favor of `nodeType: attribute`
50
+
-`wrapped: true` deprecated in favor of `nodeType: element` (as `nodeType` defaults to `none` for arrays to preserve compatibility)
51
+
- The `xml` keyword can be used in any Schema Object
47
52
- XML namespaces can be IRIs (rather than URIs)
48
53
- Explanation and example on how to handle `null` in XML
49
54
Clarify that the root schema of an XML object should use the component name.
@@ -56,11 +61,11 @@ What's coming up? Look at `src/oas.md` on the relevant development branch for fu
56
61
- Related: a new media types registry is published to give more context for each of the media types
57
62
- Also a "Complete vs Streaming Content" section for guidance on streaming binary payloads
58
63
59
-
### Parameters
64
+
### Parameters and Headers
60
65
61
66
- additional parameter location `querystring`, to allow parsing the entire query string as a single field similar to the way a request body is handled, using the `content` field. Useful for complex or unconventional query data. Mutually exclusive with the `query` field.
62
67
- parameters can therefore be `in` the `querystring` as an alternative to the existing `header`, `cookie`, `query` and `path` values.
63
-
-`allowReserved` field is now permitted on parameters with any value of `in` (however this many not be a Good Idea (TM) in some scenarios)
68
+
-`allowReserved` field is now permitted on parameters and headers with any value of `in` (however this many not be a Good Idea (TM) in some scenarios)
0 commit comments