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
d5bf53f2
Commit
d5bf53f2
authored
3 years ago
by
David Schwarzmann
Browse files
Options
Downloads
Patches
Plain Diff
Upgrade rapidoc to include bugfix for callbacks
parent
15715224
No related branches found
No related tags found
1 merge request
!43
Introduce docusaurus
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/apis/delivery-service.mdx
+4
-1
4 additions, 1 deletion
docs/apis/delivery-service.mdx
package.json
+1
-1
1 addition, 1 deletion
package.json
src/components/VersionSelector.js
+22
-0
22 additions, 0 deletions
src/components/VersionSelector.js
yarn.lock
+19
-25
19 additions, 25 deletions
yarn.lock
with
46 additions
and
27 deletions
docs/apis/delivery-service.mdx
+
4
−
1
View file @
d5bf53f2
...
...
@@ -4,5 +4,8 @@ hide_table_of_contents: true
---
import ApiSpec from '@site/src/components/ApiSpec'
import VersionSelector from '@site/src/components/VersionSelector'
<ApiSpec specUrl="https://fitko.uber.space/v1.0.0-alpha12/zustelldienst.yml"/>
\ No newline at end of file
Die aktuell ausgewählte Version der API ist <VersionSelector />
<ApiSpec specUrl="https://fitko.uber.space/v1.0.0-alpha12/zustelldienst.yml"/>
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
d5bf53f2
...
...
@@ -18,7 +18,7 @@
"
clsx
"
:
"
^1.1.1
"
,
"
file-loader
"
:
"
^6.2.0
"
,
"
mermaid
"
:
"
^8.10.2
"
,
"
rapidoc
"
:
"
^9.0.0
"
,
"rapidoc"
:
"
git+https://github.com/mrin9/RapiDoc.git#50518f69ff8eaac0686032aa3894f3402abe3ab2
"
,
"
react
"
:
"
^17.0.1
"
,
"
react-dom
"
:
"
^17.0.1
"
,
"
remark-collapse
"
:
"
^0.1.2
"
,
...
...
This diff is collapsed.
Click to expand it.
src/components/VersionSelector.js
0 → 100644
+
22
−
0
View file @
d5bf53f2
import
React
from
'
react
'
import
useDocusaurusContext
from
'
@docusaurus/useDocusaurusContext
'
const
DownloadLabel
=
({
props
})
=>
{
return
(
<
a
download
=
{
`https://fitko.uber.space/
${
version
}
/
${
props
.
artifact
}
`
}
>
herunterladen
<
/a>
)
}
export
default
function
({
props
})
{
const
{
siteMetadata
}
=
useDocusaurusContext
()
return
(
<
span
>
<
code
>
{
siteMetadata
.
siteVersion
||
'
next
'
}
<
/code> 
;
{
siteMetadata
.
siteVersion
?
(
<
DownloadLabel
version
=
{
siteMetadata
.
siteVersion
}
artifact
=
{
props
.
artifact
}
/
>
)
:
undefined
}
<
/span
>
)
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
yarn.lock
+
19
−
25
View file @
d5bf53f2
...
...
@@ -125,12 +125,12 @@
"@algolia/logger-common" "4.9.3"
"@algolia/requester-common" "4.9.3"
"@apitools/openapi-parser@^0.0.
7
":
version "0.0.
7
"
resolved "https://registry.yarnpkg.com/@apitools/openapi-parser/-/openapi-parser-0.0.
7
.tgz#
deeaf378bed63f72f41628d4178dd0e3573d3508
"
integrity sha512-
Bm+GmJ/HIJoNpcwEUSEF9Zh1SqTQ+LsPEK9u5EznVuvoYvVv+dyOWL5/UOAibkNF+wHv7uWS57+NICogPMwzMw
==
"@apitools/openapi-parser@^0.0.
8
":
version "0.0.
8
"
resolved "https://registry.yarnpkg.com/@apitools/openapi-parser/-/openapi-parser-0.0.
8
.tgz#
256a2b6c77a10595c7637f21729b60de4dbe86a5
"
integrity sha512-
j2mtstcjoDwHUfrK9d5mnBi7ZNNO8igMr8WU5hYJgmCmKBZOiDNlcuB+3gzyJ6nctXmgs5Ph25W73wj9T7z3/A
==
dependencies:
swagger-client "^3.13.
1
"
swagger-client "^3.13.
2
"
"@babel/code-frame@7.10.4":
version "7.10.4"
...
...
@@ -5699,19 +5699,14 @@ lines-and-columns@^1.1.6:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
lit-element@2.
4.0
:
version "2.
4.0
"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.
4.0
.tgz#
b22607a037a8fc08f5a80736dddf7f3f5d401452
"
integrity sha512-
pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg
==
lit-element@2.
5.1
:
version "2.
5.1
"
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.
5.1
.tgz#
3fa74b121a6cd22902409ae3859b7847d01aa6b6
"
integrity sha512-
ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ
==
dependencies:
lit-html "^1.1.1"
lit-html@1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.2.1.tgz#1fb933dc1e2ddc095f60b8086277d4fcd9d62cc8"
integrity sha512-GSJHHXMGLZDzTRq59IUfL9FCdAlGfqNp/dEa7k7aBaaWD+JKaCjsAk9KYm2V12ItonVaYx2dprN66Zdm1AuBTQ==
lit-html@^1.1.1:
lit-html@1.4.1, lit-html@^1.1.1:
version "1.4.1"
resolved "https://registry.yarnpkg.com/lit-html/-/lit-html-1.4.1.tgz#0c6f3ee4ad4eb610a49831787f0478ad8e9ae5e0"
integrity sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==
...
...
@@ -5921,7 +5916,7 @@ markdown-escapes@^1.0.0:
resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.4.tgz#c95415ef451499d7602b91095f3c8e8975f78535"
integrity sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==
marked@^2.0.
1
:
marked@^2.0.
6
:
version "2.1.1"
resolved "https://registry.yarnpkg.com/marked/-/marked-2.1.1.tgz#b7c27f520fc4de0ddd049d9b4be3b04e06314923"
integrity sha512-5XFS69o9CzDpQDSpUYC+AN2xvq8yl1EGa5SG/GI1hP78/uTeo3PDfiDNmsUyiahpyhToDDJhQk7fNtJsga+KVw==
...
...
@@ -7250,16 +7245,15 @@ range-parser@^1.2.1, range-parser@~1.2.1:
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
rapidoc@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/rapidoc/-/rapidoc-9.0.0.tgz#7fc6985bd00d6fbc471da830561a628285c4bcb2"
integrity sha512-ZZwUdzKLz6NtYdK92hwlwoG38aH3UMDbvwSk/o2crnDD21g909PRHvzSd3CxJqB8qbLAnU73LQmaxunQStzrXg==
"rapidoc@git+https://github.com/mrin9/RapiDoc.git#50518f69ff8eaac0686032aa3894f3402abe3ab2":
version "9.0.1-beta"
resolved "git+https://github.com/mrin9/RapiDoc.git#50518f69ff8eaac0686032aa3894f3402abe3ab2"
dependencies:
"@apitools/openapi-parser" "^0.0.
7
"
"@apitools/openapi-parser" "^0.0.
8
"
base64-arraybuffer "^0.2.0"
lit-element "2.
4.0
"
lit-html "1.
2
.1"
marked "^2.0.
1
"
lit-element "2.
5.1
"
lit-html "1.
4
.1"
marked "^2.0.
6
"
prismjs "^1.23.0"
raw-body@2.4.0:
...
...
@@ -8488,7 +8482,7 @@ svgo@^2.3.0:
csso "^4.2.0"
stable "^0.1.8"
swagger-client@^3.13.
1
:
swagger-client@^3.13.
2
:
version "3.13.5"
resolved "https://registry.yarnpkg.com/swagger-client/-/swagger-client-3.13.5.tgz#39528db74007a2b3c946fa5392ee2d1a64aa9414"
integrity sha512-n4+yS0+jvx7PNq95TulWhjN+v9Cz6GRkdloF3LL0JV2eQ8E8a3a+0/XEppsYGIzb7i2/h7ZMcM5hIxIr7Gr1RA==
...
...
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