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
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,8 @@ src/negative_test/popxf-* @peterstangl @alekssmolkovic @kenmimasu
src/schemas/json/kya.json @wp-lkl
src/test/kya/ @wp-lkl
src/negative_test/kya/ @wp-lkl

# Managed by Specmatic team:
src/schemas/json/specmatic.json @joelrosario @nashjain
src/test/specmatic/ @joelrosario @nashjain
src/negative_test/specmatic/ @joelrosario @nashjain
11 changes: 9 additions & 2 deletions src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@
"name": ".cirrus.yml",
"description": "Cirrus CI configuration files",
"fileMatch": [".cirrus.yml"],
"url": "https://www.schemastore.org/cirrus.json"
"url": "https://raw.githubusercontent.com/cirruslabs/cirrus-cli/main/pkg/parser/testdata/cirrus.json"
},
{
"name": ".clasp.json",
Expand Down Expand Up @@ -2503,6 +2503,12 @@
],
"url": "https://www.schemastore.org/pm2-ecosystem.json"
},
{
"name": "ECA - Editor Code Assistant",
"description": "ECA AI coding agent configuration file",
"fileMatch": ["**/eca/config.json", "**/.eca/config.json"],
"url": "https://eca.dev/config.json"
},
{
"name": "eksctl",
"description": "eksctl cluster configuration file",
Expand Down Expand Up @@ -9135,7 +9141,8 @@
"6.0-preview": "https://www.schemastore.org/aio-connector-metadata-6.0-preview.json",
"7.0-preview": "https://www.schemastore.org/aio-connector-metadata-7.0-preview.json",
"8.0-preview": "https://www.schemastore.org/aio-connector-metadata-8.0-preview.json",
"9.0-preview": "https://www.schemastore.org/aio-connector-metadata-9.0-preview.json"
"9.0-preview": "https://www.schemastore.org/aio-connector-metadata-9.0-preview.json",
"10.0-preview": "https://www.schemastore.org/aio-connector-metadata-10.0-preview.json"
}
},
{
Expand Down
23 changes: 23 additions & 0 deletions src/img/octocat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"components": {
"unknownSection": {}
},
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"dependencies": {
"services": [
{
"service": {
"$ref": "#/components/services/userApiService",
"definitions": []
}
}
]
},
"version": 3
}
10 changes: 10 additions & 0 deletions src/negative_test/specmatic/v3-examples-additional-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"components": {
"examples": {
"invalidExamplesSection": {
"directories": "./examples"
}
}
},
"version": 3
}
8 changes: 8 additions & 0 deletions src/negative_test/specmatic/v3-examples-wrong-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"components": {
"examples": {
"testExamples": "not-an-array"
}
},
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"specmatic": {
"settings": {
"general": {
"unsupportedSetting": true
}
}
},
"version": 3
}
10 changes: 10 additions & 0 deletions src/negative_test/specmatic/v3-global-settings-wrong-type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"specmatic": {
"settings": {
"general": {
"prettyPrint": 1
}
}
},
"version": 3
}
10 changes: 10 additions & 0 deletions src/negative_test/specmatic/v3-proxy-missing-target.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"proxies": [
{
"proxy": {
"baseUrl": "http://localhost:9000"
}
}
],
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"contracts": [],
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"components": {
"runOptions": {
"orderApiService": {
"invalidProtocol": {}
}
}
},
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"components": {
"runOptions": {
"orderApiService": {
"openapi": {
"baseUrl": "http://localhost:8080"
}
}
}
},
"version": 3
}
13 changes: 13 additions & 0 deletions src/negative_test/specmatic/v3-run-options-wrong-datatype.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"components": {
"runOptions": {
"orderApiService": {
"openapi": {
"baseUrl": 8080,
"type": "test"
}
}
}
},
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"components": {
"sources": {
"specsRepo": {
"filesystem": {
"directory": "./local-specs"
},
"git": {
"url": "https://github.com/example/specs-repo.git"
}
}
}
},
"version": 3
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"systemUnderTest": {
"service": {
"description": "Order API service"
}
},
"version": 3
}
4 changes: 0 additions & 4 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"catalog-info.json",
"chrome-manifest.json",
"chutzpah.json",
"cirrus.json",
"cloud-sdk-pipeline-config-schema.json",
"cloudify.json",
"codeclimate.json",
Expand Down Expand Up @@ -789,9 +788,6 @@
"cinnamon-spice.info.json": {
"externalSchema": ["base.json"]
},
"cirrus.json": {
"unknownKeywords": ["fileMatch"]
},
"clang-format.json": {
"externalSchema": ["clang-format-21.x.json"]
},
Expand Down
Loading