Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/src/styles/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@apply lg:relative lg:block lg:w-64 lg:h-auto;
}

.container\:xl .sidebar--wrapper{
.container\:xl .sidebar--wrapper {
@apply xl:w-full;
@apply sm:w-full;
}
Expand Down
46 changes: 11 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion playground/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
} from '@/components';
import { defaultConfig, parse, debounce } from '@/utils';
import * as specs from '@/specs';
import SocialMediaPlugin from 'asyncapi-social-plugin';

const defaultSchema = specs.streetlights;

Expand Down Expand Up @@ -93,7 +94,11 @@ class Playground extends Component<unknown, State> {
</Tabs>
</CodeEditorsWrapper>
<AsyncApiWrapper>
<AsyncApi schema={schema} config={parsedConfig} />
<AsyncApi
schema={schema}
config={parsedConfig}
plugins={[SocialMediaPlugin]}
/>
</AsyncApiWrapper>
</SplitWrapper>
</PlaygroundWrapper>
Expand Down
1 change: 1 addition & 0 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"@codemirror/lang-yaml": "^6.0.0",
"@uiw/codemirror-theme-material": "^4.21.24",
"@uiw/react-codemirror": "^4.21.24",
"asyncapi-social-plugin": "^1.0.0",
"next": "14.2.35",
"react": "^18",
"react-dom": "^18",
Expand Down
2 changes: 2 additions & 0 deletions playground/specs/streetlights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ export const streetlights = `asyncapi: '2.6.0'
id: 'urn:com:smartylighting:streetlights:server'
info:
x-x: AsyncAPISpec
x-linkedin: https://www.linkedin.com/company/asyncapi

title: Streetlights API
version: '1.0.0'
description: |
Expand Down