-
Notifications
You must be signed in to change notification settings - Fork 146
resolves mismatched in OpenAPI resource specs for type generation #1239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -543,7 +543,7 @@ | |
"type": "object", | ||
"required": [ | ||
"type", | ||
"identifier" | ||
"reference" | ||
], | ||
"properties": { | ||
"type": { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -360,8 +360,7 @@ | |
"type": "object", | ||
"required": [ | ||
"kind", | ||
"tiles", | ||
"content" | ||
"tiles" | ||
], | ||
"properties": { | ||
"kind": { | ||
|
@@ -526,8 +525,7 @@ | |
"kind", | ||
"content", | ||
"media", | ||
"mediaPosition", | ||
"layout" | ||
"mediaPosition" | ||
], | ||
"properties": { | ||
"kind": { | ||
|
@@ -1795,7 +1793,7 @@ | |
"type": "object", | ||
"required": [ | ||
"type", | ||
"identifier" | ||
"reference" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here |
||
], | ||
"properties": { | ||
"type": { | ||
|
@@ -1956,7 +1954,7 @@ | |
"type": "object", | ||
"required": [ | ||
"reference", | ||
"kind" | ||
"sections" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This was a bit difficult to track down, but I believe |
||
], | ||
"properties": { | ||
"reference": { | ||
|
@@ -2499,7 +2497,6 @@ | |
}, | ||
"MentionsRenderSection": { | ||
"required": [ | ||
"kind", | ||
"mentions" | ||
], | ||
"type": "object", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I'm looking at the wrong place, it seems like
identifier
is correct for this one: https://github.com/swiftlang/swift-docc/blob/main/Sources/SwiftDocC/Model/Rendering/References/TopicImage.swift#L21