# OpenAPI API Platform Admin has a native support for API exposing an [OpenAPI documentation](https://www.openapis.org/). To use it, use the `OpenApiAdmin` component, with the entrypoint of the API and the entrypoint of the OpenAPI documentation in JSON: ```javascript import { OpenApiAdmin } from "@api-platform/admin"; export default () => ( ); ``` **Note:** The OpenAPI documentation needs to follow some assumptions in order to be understood correctly by the underlying `api-doc-parser`. See the [dedicated part in the `api-doc-parser` library README](https://github.com/api-platform/api-doc-parser#openapi-support). ## Data Provider By default, the component will use a very basic data provider, without pagination support. If you want to use [another data provider](https://marmelab.com/react-admin/DataProviderList.html), pass the `dataProvider` prop to the component: ```javascript import { OpenApiAdmin } from "@api-platform/admin"; import drfProvider from "ra-data-django-rest-framework"; export default () => ( ); ``` ## Mercure Support Mercure support can be enabled manually by giving the `mercure` prop to the `OpenApiAdmin` component. See also [the dedicated section](real-time-mercure.md).