Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
LI - Lawful Interception
TC LI schemas definitions
Compare revisions
c1d7ba74752c2d62ffb32b2cd35cf676572cfee1...40abc9298e8f15222c7d9bfadcf0bafe30c56c84
Commits (2)
Updating line endings when generating JSON schemas
· aca7fe59
canterburym
authored
Feb 13, 2024
aca7fe59
Merge branch 'meeting/json_line_endings' into 'meeting/LI65'
· 40abc929
canterburym
authored
Feb 13, 2024
Updating line endings when generating JSON schemas See merge request
!138
40abc929
Show whitespace changes
Inline
Side-by-side
103120/schema/json/ts_103120_Authorisation.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Common.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Core.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Delivery.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Document.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Notification.schema.json
View file @
40abc929
103120/schema/json/ts_103120_Task.schema.json
View file @
40abc929
103120/schema/json/ts_103120_TrafficPolicy.schema.json
View file @
40abc929
103280/TS_103_280.schema.json
View file @
40abc929
utils/translate_spec.py
View file @
40abc929
...
...
@@ -112,6 +112,6 @@ if __name__ == "__main__":
if
"Core"
in
schema_tuple
[
1
]:
json_string
=
json_string
.
replace
(
'"$ref": "#/$defs/HI1Object"'
,
'"$ref": "#/$defs/ConcreteHI1Object"'
)
with
open
(
str
(
js_path
),
'w'
)
as
f
:
with
open
(
str
(
js_path
),
'w'
,
newline
=
'
\n
'
)
as
f
:
f
.
write
(
json_string
)
json_schemas
[
js
[
'$id'
]]
=
json
.
loads
(
json_string
)