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
34b42c40
Commit
34b42c40
authored
2 years ago
by
Trishna Saeharaseelan
Browse files
Options
Download
Email Patches
Plain Diff
refactor(encoded schema): remove contentEncoding base64 that limits encoding
parent
6517867a
Pipeline
#112529
passed with stages
in 53 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
formats/encoded.py
formats/encoded.py
+1
-2
project/soar/swagger.json
project/soar/swagger.json
+3
-6
No files found.
formats/encoded.py
View file @
34b42c40
...
@@ -21,8 +21,7 @@ encoded_schema = {
...
@@ -21,8 +21,7 @@ encoded_schema = {
},
},
"data"
:
{
"data"
:
{
"type"
:
"string"
,
"type"
:
"string"
,
"description"
:
"Base64 encoded string"
,
"description"
:
"encoded string. E.g. Base64 encoded"
,
"contentEncoding"
:
"base64"
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcB"
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcB"
+
"AAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
+
"AAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
},
},
...
...
This diff is collapsed.
Click to expand it.
project/soar/swagger.json
View file @
34b42c40
...
@@ -196,8 +196,7 @@
...
@@ -196,8 +196,7 @@
"mission_plan_encoded"
:{
"mission_plan_encoded"
:{
"properties"
:{
"properties"
:{
"data"
:{
"data"
:{
"contentEncoding"
:
"base64"
,
"description"
:
"Encoded string. E.g.: base64 encoded"
,
"description"
:
"Base64 encoded string"
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"type"
:
"string"
"type"
:
"string"
},
},
...
@@ -300,8 +299,7 @@
...
@@ -300,8 +299,7 @@
"observation_encoded"
:{
"observation_encoded"
:{
"properties"
:{
"properties"
:{
"data"
:{
"data"
:{
"contentEncoding"
:
"base64"
,
"description"
:
"Encoded string. E.g. base64 encoding"
,
"description"
:
"Base64 encoded string"
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"type"
:
"string"
"type"
:
"string"
},
},
...
@@ -784,8 +782,7 @@
...
@@ -784,8 +782,7 @@
"platform_status_encoded"
:{
"platform_status_encoded"
:{
"properties"
:{
"properties"
:{
"data"
:{
"data"
:{
"contentEncoding"
:
"base64"
,
"description"
:
"Encoded string. E.g. base64 encoding"
,
"description"
:
"Base64 encoded string"
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"example"
:
"SDQke4uwyP/YQQAgAhA2AND/nu8nvQAAAAAAAAAACtejPa5HHUGkcBAAAAIAAAAQAAAAAAAAAA9P2cP166ab+9cg=="
,
"type"
:
"string"
"type"
:
"string"
},
},
...
...
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