Adds iframe to developer.cal.com (swagger-ui) into docs/public-api.mdx (#2518)
Co-authored-by: Agusti Fernandez Pardo <git@agusti.me>pull/2522/head
parent
3b637eefaa
commit
f8f3456b92
2
apps/api
2
apps/api
|
@ -1 +1 @@
|
|||
Subproject commit 187b97afa169f61511cbce4e75e1c6affab56f17
|
||||
Subproject commit 3ad84a7c15ad41f026971eeac295781532219d11
|
|
@ -6,10 +6,10 @@ const withNextra = require("nextra")({
|
|||
module.exports = withNextra({
|
||||
async rewrites() {
|
||||
return [
|
||||
// This redirects requests recieved at / the root to the /api/ folder.
|
||||
// This redirects requests recieved at /api to /public-api to workaround nextjs default use of /api.
|
||||
{
|
||||
source: "/api",
|
||||
destination: "https://developer.cal.com/",
|
||||
destination: "/public-api",
|
||||
},
|
||||
];
|
||||
},
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
"event-types": "Event Types",
|
||||
"teams": "Teams",
|
||||
"integrations": "Integrations",
|
||||
"public-api": "API",
|
||||
"webhooks": "Webhooks",
|
||||
"settings": "Settings",
|
||||
"import": "Import",
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
import Bleed from 'nextra-theme-docs/bleed'
|
||||
|
||||
<Bleed full>
|
||||
<iframe src="https://developer.cal.com"
|
||||
width="100%"
|
||||
height="900px"
|
||||
title="Swagger UI - Cal.com Public API"
|
||||
></iframe>
|
||||
</Bleed>
|
Loading…
Reference in New Issue