feature(techdocs): added an example component in techdocs-backend containing a documentation reference

This commit is contained in:
Sebastian Qvarfordt
2020-07-22 16:44:14 +02:00
parent dfa34bdb3e
commit 9e2606a89a
5 changed files with 35 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
for URL in \
'documented-component/documented-component.yaml' \
; do \
curl \
--location \
--request POST 'localhost:7000/catalog/locations' \
--header 'Content-Type: application/json' \
--data-raw "{\"type\": \"file\", \"target\": \"$(pwd)/examples/${URL}\"}"
echo
done