Skip to content

Commit

Permalink
docs: update api spec and add schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-farina committed Jul 27, 2023
1 parent c8cc202 commit ce0d7cf
Show file tree
Hide file tree
Showing 2 changed files with 4,991 additions and 1,865 deletions.
6 changes: 3 additions & 3 deletions src/pages/api.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import SectionsMenu from '../components/SectionsMenu';

const API_TOOLTIP_KEY = 'dyte-api-v2-tooltip-shown';

function APIElement({ layout = 'sidebar', currentVersion = 'RPC' }) {
function APIElement({ layout = 'stacked', currentVersion = 'RPC' }) {
return (
<BrowserOnly
fallback={
Expand All @@ -31,7 +31,7 @@ function APIElement({ layout = 'sidebar', currentVersion = 'RPC' }) {
basePath="/"
router="hash"
layout={layout}
hideSchemas
hideSchemas={false}
className="stacked"
/>
</div>
Expand All @@ -49,7 +49,7 @@ export default function Home() {
const location = router.location;

const url = new URL(
`https://docs.dyte.io${location.pathname}${location.search}`
`https://docs.osmosis.zone/${location.pathname}${location.search}`
);

const currentVersion = url.searchParams.get('v') || 'RPC';
Expand Down
Loading

1 comment on commit ce0d7cf

@vercel
Copy link

@vercel vercel bot commented on ce0d7cf Jul 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.