mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-12-22 19:01:28 +00:00
Merge pull request #14 from gazconroy/main
Added site publish and subscribe channels to asyncapi file
This commit is contained in:
commit
9621d9f10b
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