Skip to content

Commit 3169bfa

Browse files
authored
Merge pull request #156 from siemens/refactor/license_model
refactor(licenses): Remove unwanted license fields and debloat types.go Reviewed&Tested By: Kaushlendra Pratap Singh <[email protected]>
2 parents 6d05a90 + a0d164a commit 3169bfa

File tree

17 files changed

+1053
-855
lines changed

17 files changed

+1053
-855
lines changed

.github/workflows/api-swagger.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@ jobs:
3838
- name: Check doc diff
3939
run: |
4040
diff swag/docs/docs.go cmd/laas/docs/docs.go > swagger-diff.txt || true
41-
# Check if file swagger-diff.txt is empty
42-
if [ -s swagger-diff.txt ]
43-
then
44-
# If file is not empty, echo a message and exit 1
45-
echo "Swagger docs are not up to date. Please run 'swag init' and commit the changes."
46-
exit 1
47-
fi
41+
# Check if file swagger-diff.txt is empty
42+
if [ -s swagger-diff.txt ]
43+
then
44+
# If file is not empty, print the diff content
45+
echo "--- Start of Swagger Diff ---"
46+
cat swagger-diff.txt
47+
echo "--- End of Swagger Diff ---"
48+
# Then echo a message and exit 1
49+
echo "Swagger docs are not up to date. Please run 'swag init' and commit the changes."
50+
exit 1
51+
fi
4852
4953
doc-fmt:
5054
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)