Skip to content

Commit 2bddc5b

Browse files
authored
feat(schema): add swaggerUrl to specmatic config schema (SchemaStore#5916)
Co-authored-by: joelrosario <joelrosario@users.noreply.github.com>
1 parent f40c891 commit 2bddc5b

3 files changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"components": {
3+
"runOptions": {
4+
"orderApiService": {
5+
"openapi": {
6+
"specs": [
7+
{
8+
"spec": {
9+
"swaggerUrl": 8080
10+
}
11+
}
12+
],
13+
"type": "test"
14+
}
15+
}
16+
}
17+
},
18+
"version": 3
19+
}

src/schemas/json/specmatic.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,6 +1997,9 @@
19971997
"baseUrl": {
19981998
"$ref": "#/definitions/SubstitutableString"
19991999
},
2000+
"swaggerUrl": {
2001+
"$ref": "#/definitions/SubstitutableString"
2002+
},
20002003
"overlayFilePath": {
20012004
"$ref": "#/definitions/SubstitutableString"
20022005
},
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"components": {
3+
"runOptions": {
4+
"orderApiService": {
5+
"openapi": {
6+
"specs": [
7+
{
8+
"spec": {
9+
"swaggerUrl": "http://localhost:8080/v3/api-docs"
10+
}
11+
}
12+
],
13+
"type": "test"
14+
}
15+
}
16+
}
17+
},
18+
"version": 3
19+
}

0 commit comments

Comments
 (0)