
* fix: adds servers in openapi, remove hack in snippets, update deps, make dynamic import to use latests swagger ui deps * fix: remove unneded import * fix: adds yarn dev commands for api and swagger * fix: prisma not web before api * fix: improve mobile docs api * fix request snippets * fix: custom more visible scrollbar for snippets in moible * fix: remove comments and ugly scrollbar * fix: types and remove lib url * fix: install iframe-react-resizer in docs * fix: remove web scope from yarn dev:api * fix: remove json-schema autogenerated as wont be used * fix: apiKeyAuth * fix: swagger patch thx hariom * fix: add api to env/example Co-authored-by: Agusti Fernandez Pardo <git@agusti.me> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: zomars <zomars@me.com>
20 lines
590 B
Text
20 lines
590 B
Text
import Bleed from 'nextra-theme-docs/bleed'
|
|
import Head from "next/head";
|
|
import IframeResizer from "iframe-resizer-react";
|
|
import {useWindowSize} from "../lib/useWindowSize";
|
|
|
|
|
|
<Bleed full>
|
|
<Head><title>Public API | Cal.com</title></Head>
|
|
<IframeResizer
|
|
autoResize
|
|
src={process.env.NEXT_PUBLIC_SWAGGER_DOCS_URL || "https://developer.cal.com"}
|
|
frameBorder="0"
|
|
style={{
|
|
width: useWindowSize().width > 768 ? "calc(100vw - 16rem)": "100vw",
|
|
minHeight: useWindowSize().width > 768 ? "100vh" : "200vh",
|
|
height: "auto",
|
|
border: 0,
|
|
}}
|
|
/>
|
|
</Bleed>
|