Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NGSI Linked Data
NGSI-LD
Commits
88a83753
Commit
88a83753
authored
Feb 02, 2021
by
Stefan Wiedemann
Browse files
update ci
parent
3acb07b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/combine_files.sh
deleted
100755 → 0
View file @
3acb07b0
#!/bin/bash
#
# Requires install swagger-cli: npm install -g swagger-cli
#
# Generate a file which combines all the spec files into a unique swagger definition file (maintains references)
swagger-cli bundle ./spec/updated/ngsi-ld-spec-open-api.json
-o
./bundle/ngsild_swagger_combined.json
# Generate a file which combines all the spec files into a unique swagger definition file (removes references)
# working with modified swagger-cli.js to avoid circular ref problem
swagger-cli
-d
bundle
--dereference
./spec/updated/ngsi-ld-spec-open-api.json
-o
./bundle/ngsild_swagger_combined_dereferenced.json
# modified version to allow circular ref
# swagger-cli bundle --dereference="ignore" ./spec/updated/ngsi-ld-spec-open-api.json -o ./bundle/ngsild_swagger_combined.json
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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