mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
9 lines
250 B
TypeScript
9 lines
250 B
TypeScript
import SwaggerUI from 'swagger-ui-react';
|
|
import 'swagger-ui-react/swagger-ui.css';
|
|
|
|
import { OpenAPIV1 } from '@documenso/api/v1/openapi';
|
|
|
|
export const OpenApiDocsPage = () => {
|
|
return <SwaggerUI spec={OpenAPIV1} displayOperationId={true} />;
|
|
};
|