Skip to content
Snippets Groups Projects

Adapt the schema URL for displaying/loading the api spec

Merged David Schwarzmann requested to merge rename-openapi into main
3 unresolved threads
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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