Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Radio Network Information API
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MEC - Multi-access Edge Computing
Radio Network Information API
Merge requests
!12
Update editor and validation tools
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update editor and validation tools
stf606-draft
into
stf606-final
Overview
0
Commits
10
Pipelines
2
Changes
2
Merged
Elian Kraja
requested to merge
stf606-draft
into
stf606-final
2 years ago
Overview
0
Commits
10
Pipelines
2
Changes
2
Expand
0
0
Merge request reports
Compare
stf606-final
version 1
ac3b41d6
2 years ago
stf606-final (base)
and
latest version
latest version
c0c5ec12
10 commits,
2 years ago
version 1
ac3b41d6
6 commits,
2 years ago
2 files
+
3
−
21
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.jenkins.sh deleted
100644 → 0
+
0
−
18
Options
#!/bin/bash
specfiles
=
$(
ls
| egrep
"^[^.]*.(json|yaml)"
)
fres
=
0
for
i
in
$specfiles
;
do
echo
"-- Validating and linting OpenAPI file
$i
..."
swagger-cli validate
$i
res
=
$?
speccy lint
"
$i
"
res2
=
$?
fres
=
$((
$fres
||
$res
||
$res2
))
echo
"--- Validator returned
$res
, linter returned
$res2
."
done
echo
"-- Final validator returns
$fres
."
exit
$fres
Loading