Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit 00b2940

Browse files
change url of apidocs
1 parent 82ec90f commit 00b2940

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

docusaurus/src/pages/api.js

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import React from "react";
2+
import Layout from "@theme/Layout";
3+
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
4+
import SwaggerUI from "swagger-ui-react";
5+
import "swagger-ui-react/swagger-ui.css";
6+
7+
function Home() {
8+
const context = useDocusaurusContext();
9+
const { siteConfig = {} } = context;
10+
return (
11+
<Layout
12+
title={`${siteConfig.title}`}
13+
description="Java library for creating and signing XML files based on Universal Bussiness Language (UBL) <head />"
14+
>
15+
<main>
16+
<section>
17+
<div className="container">
18+
<SwaggerUI
19+
url="https://raw.githubusercontent.com/project-openubl/xbuilder-server/master/tools/openapi.json"
20+
docExpansion="list"
21+
/>
22+
</div>
23+
</section>
24+
</main>
25+
</Layout>
26+
);
27+
}
28+
29+
export default Home;

0 commit comments

Comments
 (0)