mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 04:11:15 +00:00
Added site publish and subscribe channels to asyncapi file
This commit is contained in:
parent
1b7ee875f0
commit
ac5ca75c72
2 changed files with 2177 additions and 292 deletions
16
static/scripts/asyncapi.html
Normal file
16
static/scripts/asyncapi.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Lemmy WebSocket API</title>
|
||||||
|
<!-- needed for adaptive design -->
|
||||||
|
<meta charset="utf-8"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@2.5.0/webcomponents-bundle.js"></script>
|
||||||
|
<script src="https://unpkg.com/@asyncapi/web-component@0.19.0/lib/asyncapi-web-component.js" defer></script>
|
||||||
|
<asyncapi-component
|
||||||
|
schemaUrl="asyncapi.yaml"
|
||||||
|
cssImportPath="https://unpkg.com/@asyncapi/react-component@0.19.0/lib/styles/fiori.css">
|
||||||
|
</asyncapi-component>
|
||||||
|
</body>
|
||||||
|
</html>
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue