Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dokumentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Dokumentation
Merge requests
!38
Adapt the schema URL for displaying/loading the api spec
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Adapt the schema URL for displaying/loading the api spec
rename-openapi
into
main
Overview
3
Commits
5
Pipelines
0
Changes
1
3 unresolved threads
Hide all comments
Merged
David Schwarzmann
requested to merge
rename-openapi
into
main
3 years ago
Overview
3
Commits
5
Pipelines
0
Changes
1
3 unresolved threads
Hide all comments
Expand
Resolves
#67 (closed)
Edited
3 years ago
by
David Schwarzmann
0
0
Merge request reports
Viewing commit
58bf2cab
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
58bf2cab
fix: Fix ApiLink component
· 58bf2cab
David Schwarzmann
authored
3 years ago
src/components/ApiLink.js
+
1
−
1
Options
@@ -2,7 +2,7 @@ import React from "react"
import
Link
from
'
@docusaurus/Link
'
export
default
({
to
,
withMethod
=
'
get
'
,
children
})
=>
{
const
url
=
`/docs/apis/
delivery-service
#
${
withMethod
.
toLowerCase
()}
-
${
to
.
replace
(
/
[
{}
]
/g
,
'
-
'
)}
`
const
url
=
`/docs/apis/
submission-api
#
${
withMethod
.
toLowerCase
()}
-
${
to
.
replace
(
/
[
{}
]
/g
,
'
-
'
)}
`
if
(
children
)
{
return
<
Link
to
=
{
url
}
>
{
children
}
<
/Link
>
}
else
{
Loading