Improved the formatting for the OpenAPI specification in the library target.
This commit is contained in:
@@ -20,20 +20,20 @@ info:
|
|||||||
termsOfService: https://developer.marvel.com/terms
|
termsOfService: https://developer.marvel.com/terms
|
||||||
version: Cable
|
version: Cable
|
||||||
servers:
|
servers:
|
||||||
- url: https://gateway.marvel.com
|
- url: https://gateway.marvel.com
|
||||||
description: Live service
|
description: Live service
|
||||||
tags:
|
tags:
|
||||||
- name: characters
|
- name: characters
|
||||||
description: Group of endpoints that returns characters.
|
description: Group of endpoints that returns characters.
|
||||||
- name: comics
|
- name: comics
|
||||||
description: Group of endpoints that returns comics.
|
description: Group of endpoints that returns comics.
|
||||||
- name: creators
|
- name: creators
|
||||||
description: Group of endpoints that returns creators.
|
description: Group of endpoints that returns creators.
|
||||||
- name: events
|
- name: events
|
||||||
description: Group of endpoints that returns events.
|
description: Group of endpoints that returns events.
|
||||||
- name: series
|
- name: series
|
||||||
description: Group of endpoints that returns series.
|
description: Group of endpoints that returns series.
|
||||||
- name: stories
|
- name: stories
|
||||||
description: Group of endpoints that returns stories.
|
description: Group of endpoints that returns stories.
|
||||||
paths:
|
paths:
|
||||||
/v1/public/characters:
|
/v1/public/characters:
|
||||||
@@ -248,7 +248,6 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
||||||
- name: format
|
- name: format
|
||||||
in: query
|
in: query
|
||||||
description: Filter by the issue format.
|
description: Filter by the issue format.
|
||||||
@@ -1561,7 +1560,6 @@ paths:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
||||||
- name: orderBy
|
- name: orderBy
|
||||||
in: query
|
in: query
|
||||||
description: Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.
|
description: Order the result set by a field or fields. Add a "-" to the value sort in descending order. Multiple values are given priority in the order in which they are passed.
|
||||||
@@ -6316,7 +6314,6 @@ components:
|
|||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
description: The unique ID of the character resource.
|
description: The unique ID of the character resource.
|
||||||
|
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
description: The name of the character.
|
description: The name of the character.
|
||||||
@@ -6369,11 +6366,9 @@ components:
|
|||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
description: The unique ID of the comic resource.
|
description: The unique ID of the comic resource.
|
||||||
|
|
||||||
digitalId:
|
digitalId:
|
||||||
type: integer
|
type: integer
|
||||||
description: The ID of the digital comic representation of this comic. Will be 0 if the comic is not available digitally.
|
description: The ID of the digital comic representation of this comic. Will be 0 if the comic is not available digitally.
|
||||||
|
|
||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
description: The canonical title of the comic.
|
description: The canonical title of the comic.
|
||||||
@@ -6412,7 +6407,6 @@ components:
|
|||||||
pageCount:
|
pageCount:
|
||||||
type: integer
|
type: integer
|
||||||
description: The number of story pages in the comic.
|
description: The number of story pages in the comic.
|
||||||
|
|
||||||
textObjects:
|
textObjects:
|
||||||
type: array
|
type: array
|
||||||
description: A set of descriptive text blurbs for the comic.
|
description: A set of descriptive text blurbs for the comic.
|
||||||
@@ -7459,4 +7453,3 @@ components:
|
|||||||
description: A human readable message providing more details about the error.
|
description: A human readable message providing more details about the error.
|
||||||
required:
|
required:
|
||||||
- code
|
- code
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user