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: required:
- id - id
- name - name
- description
- modified - modified
- resourceURI - resourceURI
- urls - urls
- thumbnail
- comics - comics
- stories - stories
- events - events
@@ -6474,7 +6472,6 @@ components:
- title - title
- issueNumber - issueNumber
- variantDescription - variantDescription
- description
- modified - modified
- isbn - isbn
- upc - upc
@@ -6492,7 +6489,6 @@ components:
- collectedIssues - collectedIssues
- dates - dates
- prices - prices
- thumbnail
- images - images
- creators - creators
- characters - characters
@@ -6557,7 +6553,6 @@ components:
- modified - modified
- resourceURI - resourceURI
- urls - urls
- thumbnail
- series - series
- stories - stories
- comics - comics
@@ -6622,13 +6617,11 @@ components:
required: required:
- id - id
- title - title
- description
- resourceURI - resourceURI
- urls - urls
- modified - modified
- start - start
- end - end
- thumbnail
- comics - comics
- stories - stories
- series - series
@@ -6697,21 +6690,17 @@ components:
required: required:
- id - id
- title - title
- description
- resourceURI - resourceURI
- urls - urls
- startYear - startYear
- endYear - endYear
- rating - rating
- modified - modified
- thumbnail
- comics - comics
- stories - stories
- events - events
- characters - characters
- creators - creators
- next
- previous
Story: Story:
type: object 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. 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: required:
- id - id
- title - title
- description
- resourceURI - resourceURI
- type - type
- modified - modified
- thumbnail
- comics - comics
- series - series
- events - events
- characters - characters
- creators - creators
- originalissue
# Core Entity Summary Representations # Core Entity Summary Representations
CharacterSummary: CharacterSummary:
@@ -6788,7 +6774,6 @@ components:
required: required:
- resourceURI - resourceURI
- name - name
- role
ComicSummary: ComicSummary:
type: object type: object
description: A type that represents a summary of a comic resource. description: A type that represents a summary of a comic resource.
@@ -6818,7 +6803,6 @@ components:
required: required:
- resourceURI - resourceURI
- name - name
- role
EventSummary: EventSummary:
type: object type: object
description: A type that represents a summary of an event resource. description: A type that represents a summary of an event resource.