Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions modules/swagger-generator/src/main/resources/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ paths:
content:
application/json:
schema:
type: array
items:
type: string
type: "object"
additionalProperties:
$ref: "#/components/schemas/CliOption"
components:
parameters:
version:
Expand Down Expand Up @@ -308,3 +308,19 @@ components:
description: Remove prefix of operationId, e.g. config_getId => getId
skipOverride:
type: boolean
CliOption:
type: "object"
properties:
optionName:
type: "string"
description:
type: "string"
type:
type: "string"
description: "Data type is based on the types supported by the JSON-Schema"
enum:
type: "object"
additionalProperties:
type: "string"
default:
type: "string"