Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-message-format
Commits
0bc01bdd
Verified
Commit
0bc01bdd
authored
1 year ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
test: remove empty definitions from swagger.json
parent
e6b6c33c
2 merge requests
!30
Resolve "Release v0.2"
,
!29
Resolve "SPINE Support"
Pipeline
#181846
failed with stages
in 23 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
project/soar/swagger.json
project/soar/swagger.json
+0
-1
tests-js/soar-examples.test.js
tests-js/soar-examples.test.js
+3
-0
tests/fixtures/swagger.json
tests/fixtures/swagger.json
+0
-1
No files found.
project/soar/swagger.json
View file @
0bc01bdd
...
...
@@ -1150,7 +1150,6 @@
}
}
},
"definitions"
:
{},
"info"
:
{
"description"
:
"SoAR message protocol in schemas"
,
"title"
:
"SoAR Backbone Message Formats"
,
...
...
This diff is collapsed.
Click to expand it.
tests-js/soar-examples.test.js
View file @
0bc01bdd
...
...
@@ -11,6 +11,9 @@ const validateSchema = (schema) => {
const
validator
=
new
OpenAPISchemaValidator
({
version
:
3
});
let
validation
=
validator
.
validate
(
schema
);
validation
.
valid
=
(
validation
.
errors
.
length
===
0
);
if
(
!
validation
.
valid
)
{
console
.
log
(
'
errors
'
,
validation
.
errors
);
}
return
validation
;
};
...
...
This diff is collapsed.
Click to expand it.
tests/fixtures/swagger.json
View file @
0bc01bdd
...
...
@@ -1150,7 +1150,6 @@
}
}
},
"definitions"
:
{},
"info"
:
{
"description"
:
"SoAR message protocol in schemas"
,
"title"
:
"SoAR Backbone Message Formats"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment