Skip to content

Commit 10ddf82

Browse files
authored
chore: deprecate formatter (SchemaStore#5217)
1 parent 51b1135 commit 10ddf82

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

src/schemas/json/specmatic.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,16 @@
305305
"formatters": {
306306
"type": ["array", "null"],
307307
"description": "List of report formatters",
308-
"items": { "$ref": "#/definitions/ReportFormatterDetails" }
308+
"items": { "$ref": "#/definitions/ReportFormatterDetails" },
309+
"deprecated": true
309310
},
310311
"types": { "$ref": "#/definitions/ReportTypes" }
311312
}
312313
},
313314
"ReportFormatterDetails": {
314315
"type": "object",
315316
"additionalProperties": false,
317+
"deprecated": true,
316318
"description": "Configuration for a specific report formatter",
317319
"properties": {
318320
"type": {

src/test/specmatic/specmatic.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,6 @@
8787
"provider": "azure"
8888
},
8989
"report": {
90-
"formatters": [
91-
{
92-
"heading": "Contract Test Results",
93-
"layout": "table",
94-
"lite": false,
95-
"logo": "./logo.png",
96-
"logoAltText": "Company Logo",
97-
"outputDirectory": "./reports",
98-
"title": "API Test Report",
99-
"type": "html"
100-
},
101-
{
102-
"outputDirectory": "./reports",
103-
"type": "ctrf"
104-
}
105-
],
10690
"types": {
10791
"APICoverage": {
10892
"OpenAPI": {

0 commit comments

Comments
 (0)