Skip to content
Snippets Groups Projects
Verified Commit 13555db5 authored by Jonas Gröger's avatar Jonas Gröger :palm_tree:
Browse files

Fix validate script

parent b5257e35
No related branches found
No related tags found
1 merge request!71API: Add Service and Region to Destination
......@@ -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
......@@ -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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment