Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -4997,6 +4997,12 @@
"fileMatch": ["railway.toml", "railway.json"],
"url": "https://railway.com/railway.schema.json"
},
{
"name": "Railpack",
"description": "Configuration file for Railpack deployment tool",
"fileMatch": ["railpack.json"],
"url": "https://schema.railpack.com"
},
{
"name": "Rattler-build",
"description": "Rattler-build recipe",
Expand Down
7 changes: 7 additions & 0 deletions src/negative_test/specmatic/wrong-stub-strict-mode-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"contracts": [],
"stub": {
"strictMode": "enabled"
},
"version": 2
}
7 changes: 7 additions & 0 deletions src/negative_test/specmatic/wrong-test-strict-mode-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"contracts": [],
"test": {
"strictMode": "enabled"
},
"version": 2
}
8 changes: 8 additions & 0 deletions src/schemas/json/specmatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@
"timeoutInMilliseconds": {
"type": ["integer", "null"],
"description": "Test timeout in milliseconds"
},
"strictMode": {
"type": ["boolean", "null"],
"description": "Whether to enable strict mode for contract testing"
}
}
},
Expand Down Expand Up @@ -501,6 +505,10 @@
"hotReload": {
"type": ["string", "null"],
"description": "Hot reload configuration"
},
"strictMode": {
"type": ["boolean", "null"],
"description": "Whether to enable strict mode for stubbing"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion src/test/specmatic/specmatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,15 @@
"generative": true,
"hotReload": "enabled",
"includeMandatoryAndRequestedKeysInResponse": true,
"startTimeoutInMilliseconds": 10000
"startTimeoutInMilliseconds": 10000,
"strictMode": true
},
"test": {
"allowExtensibleSchema": false,
"resiliencyTests": {
"enable": "all"
},
"strictMode": false,
"timeoutInMilliseconds": 30000,
"validateResponseValues": true
},
Expand Down