Removed certain properties from the required list in the components definition for the openapi.yaml file in the library target as they are prone to be null based on the exploration I did.

This commit is contained in:
2025-10-05 21:56:05 +02:00
parent d5bd9feb0a
commit af7b2c2ab2
-16
View File
@@ -6350,11 +6350,9 @@ components:
required:
- id
- name
- description
- modified
- resourceURI
- urls
- thumbnail
- comics
- stories
- events
@@ -6474,7 +6472,6 @@ components:
- title
- issueNumber
- variantDescription
- description
- modified
- isbn
- upc
@@ -6492,7 +6489,6 @@ components:
- collectedIssues
- dates
- prices
- thumbnail
- images
- creators
- characters
@@ -6557,7 +6553,6 @@ components:
- modified
- resourceURI
- urls
- thumbnail
- series
- stories
- comics
@@ -6622,13 +6617,11 @@ components:
required:
- id
- title
- description
- resourceURI
- urls
- modified
- start
- end
- thumbnail
- comics
- stories
- series
@@ -6697,21 +6690,17 @@ components:
required:
- id
- title
- description
- resourceURI
- urls
- startYear
- endYear
- rating
- modified
- thumbnail
- comics
- stories
- events
- characters
- creators
- next
- previous
Story:
type: object
description: A story resource type that represents an indivisible, reusable components of comics. Most comics have two stories - a cover and an interior story (e. g. the cover from Amazing Fantasy \#15 and the origin of Spider-Man story from that comic) - but many, such as anthology comics and collections, will have more. Stories may be re-published in several comics, but the comic in which they originally appeared will always be present as a data point.
@@ -6759,17 +6748,14 @@ components:
required:
- id
- title
- description
- resourceURI
- type
- modified
- thumbnail
- comics
- series
- events
- characters
- creators
- originalissue
# Core Entity Summary Representations
CharacterSummary:
@@ -6788,7 +6774,6 @@ components:
required:
- resourceURI
- name
- role
ComicSummary:
type: object
description: A type that represents a summary of a comic resource.
@@ -6818,7 +6803,6 @@ components:
required:
- resourceURI
- name
- role
EventSummary:
type: object
description: A type that represents a summary of an event resource.