Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Submission API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
Submission API
Commits
13555db5
Verified
Commit
13555db5
authored
3 years ago
by
Jonas Gröger
Browse files
Options
Downloads
Patches
Plain Diff
Fix validate script
parent
b5257e35
No related branches found
No related tags found
1 merge request
!71
API: Add Service and Region to Destination
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.spectral.yml
+1
-3
1 addition, 3 deletions
.spectral.yml
spec/examples/destination-list.yml
+1
-1
1 addition, 1 deletion
spec/examples/destination-list.yml
validate.sh
+3
-1
3 additions, 1 deletion
validate.sh
with
5 additions
and
5 deletions
.spectral.yml
+
1
−
3
View file @
13555db5
...
...
@@ -14,7 +14,5 @@ rules:
paths-status
:
off
paths-status-return-problem
:
off
paths-status-problem-schema
:
off
use-semver
:
off
except
:
'
#/info/version'
:
-
use-semver
This diff is collapsed.
Click to expand it.
spec/examples/destination-list.yml
+
1
−
1
View file @
13555db5
...
...
@@ -7,7 +7,7 @@ value:
-
schemaURI
:
"
https://schema.fitko.de/fim/s00000121_1.0.0.schema.json"
mimeType
:
application/json
region
:
"
DE094750156156"
-
id
:
"
urn:installation-einer-fahrradreparaturstation"
-
id
:
"
urn:
nuernberg:
installation-einer-fahrradreparaturstation"
schemas
:
-
schemaURI
:
"
https://schema.fitko.de/etc/installation-fahrradreparaturstation.json"
mimeType
:
application/json
...
...
This diff is collapsed.
Click to expand it.
validate.sh
+
3
−
1
View file @
13555db5
...
...
@@ -5,5 +5,7 @@
YML_IN
=
"spec/zustelldienst-bundled.yml"
docker run
--rm
-v
"
$(
pwd
)
:/work"
jeanberu/swagger-cli
\
swagger-cli validate
"/work/
$YML_IN
"
swagger-cli validate
"/work/
$YML_IN
"
docker run
--rm
-v
"
$(
pwd
)
:/work"
-w
/work stoplight/spectral
\
lint
"/work/
$YML_IN
"
-D
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment