Commit c8e8442
committed
[BUG][CORE] Regenerate samples affected by anyOf required-intersection
Cascade from the union->intersection change in DefaultCodegen.
Fields previously marked required across all members of an anyOf/oneOf
are now optional in the merged composed model. Touches Go, Kotlin, R,
C#, Java, JavaScript, PowerShell, Rust, TypeScript, Python, Dart-dio,
Terraform samples that contain anyOf composed schemas with overlapping
required fields.1 parent 13f52c1 commit c8e8442
121 files changed
Lines changed: 366 additions & 329 deletions
File tree
- samples
- client
- others
- go
- oneof-anyof-required/docs
- oneof-discriminator-lookup/docs
- kotlin-oneOf-anyOf-kotlinx-serialization/docs
- terraform
- oneof-anyof-required/internal/client
- oneof-discriminator-lookup/internal/client
- petstore
- R-httr2-wrapper/docs
- R-httr2/docs
- R/docs
- csharp
- httpclient
- net10/Petstore/docs
- net9/Petstore/docs
- standard2.0/Petstore/docs
- restsharp
- net10/Petstore/docs
- net4.7/Petstore/docs
- net4.8/Petstore/docs
- net8
- EnumMappings/docs
- Petstore/docs
- net9/EnumMappings/docs
- standard2.0
- ConditionalSerialization/docs
- Petstore/docs
- unityWebRequest
- net10/Petstore/docs
- net9/Petstore/docs
- standard2.0/Petstore/docs
- javascript-apollo/docs
- javascript-es6/docs
- javascript-promise-es6/docs
- java/okhttp-gson/docs
- kotlin-jvm-ktor-gson
- docs
- src/main/kotlin/org/openapitools/client/models
- kotlin-model-prefix-type-mappings/docs
- powershell/docs
- rust
- hyper/test-duplicates/src/models
- reqwest/test-duplicates/src/models
- typescript-axios/builds/composed-schemas
- docs
- openapi3/client/petstore
- dart-dio/oneof_polymorphism_and_inheritance/doc
- go/go-petstore/docs
- python-aiohttp/docs
- python-httpx/docs
- python-lazyImports/docs
- python-pydantic-v1-aiohttp/docs
- python-pydantic-v1/docs
- python/docs
- typescript/builds/composed-schemas/models
- server
- others/kotlin-server
- polymorphism-and-discriminator/src/main/kotlin/org/openapitools/server/models
- polymorphism/src/main/kotlin/org/openapitools/server/models
- petstore
- cpp-httplib-server/feature-test/models
- kotlin-spring-default/src/main/kotlin/org/openapitools/model
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
68 | 78 | | |
69 | 79 | | |
70 | 80 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
samples/client/others/kotlin-oneOf-anyOf-kotlinx-serialization/docs/AnyOfUserOrPetOrArrayString.md
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments