Commit 88a83753 authored by Stefan Wiedemann's avatar Stefan Wiedemann
Browse files

update ci

parent 3acb07b0
Loading
Loading
Loading
Loading

scripts/combine_files.sh

deleted100755 → 0
+0 −13
Original line number Diff line number Diff line
#!/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