-
Notifications
You must be signed in to change notification settings - Fork 28
configuration properties inputs items anyof 0
https://github.com/robertmassaioli/openapi-merge/blob/main/packages/openapi-merge-cli/src/data.ts#/properties/inputs/items/anyOf/0
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | configuration.schema.json* |
object
(Details)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
description | object |
Optional | cannot be null | Configuration |
disputePrefix | string |
Optional | cannot be null | Configuration |
inputFile | string |
Required | cannot be null | Configuration |
operationSelection | object |
Optional | cannot be null | Configuration |
pathModification | object |
Optional | cannot be null | Configuration |
This configuration setting lets you configure how the info.description from this OpenAPI file will be merged into the final resulting OpenAPI file
description
-
is optional
-
Type:
object
(DescriptionMergeBehaviour) -
cannot be null
-
defined in: Configuration
object
(DescriptionMergeBehaviour)
{
"append": true
}
{
"append": true,
"title": {
"value": "Title 1"
}
}
{
"append": true,
"title": {
"headingLevel": 2,
"value": "Title Level 2"
}
}
{
"append": true,
"title": {
"headingLevel": 6,
"value": "Inperceptible title"
}
}
The prefix that will be used in the event of a conflict of two definition names.
disputePrefix
-
is optional
-
Type:
string
(disputePrefix) -
cannot be null
-
defined in: Configuration
string
(disputePrefix)
minimum length: the minimum number of characters for this string is: 1
The path to the input OpenAPI Schema that will be merged.
inputFile
-
is required
-
Type:
string
(inputFile) -
cannot be null
-
defined in: Configuration
string
(inputFile)
minimum length: the minimum number of characters for this string is: 1
Choose which OpenAPI Operations should be included from this input.
operationSelection
-
is optional
-
Type:
object
(OperationSelection) -
cannot be null
-
defined in: Configuration
object
(OperationSelection)
{
"includeTags": [
"include-this-tag-only"
]
}
{
"excludeTags": [
"exclude-these-tags"
]
}
{
"excludeTags": [
"filter-out-with-this-tag"
],
"includeTags": [
"select-this-first"
]
}
For this input, you can perform these modifications to its paths elements.
pathModification
-
is optional
-
Type:
object
(PathModification) -
cannot be null
-
defined in: Configuration
object
(PathModification)
{
"stripStart": "Model"
}
{
"prepend": "Model"
}
{
"prepend": "Object",
"stripStart": "Jira"
}