UNPKG

@visulima/api-platform

Version:

Visulima API platform is a set of tools to build and consume web APIs

8 lines (5 loc) 398 B
import { NextPage, InferGetStaticPropsType } from 'next/types'; import { SwaggerUIProps } from 'swagger-ui-react'; import { getSwaggerStaticProps as getStaticProps } from '../../../index-browser.mjs'; declare const SwaggerApiDocument: (name: string, swagger?: Exclude<SwaggerUIProps, "spec">) => NextPage<InferGetStaticPropsType<typeof getStaticProps>>; export { SwaggerApiDocument as default };