diff --git a/src/components/Parameters/Parameters.tsx b/src/components/Parameters/Parameters.tsx index 453cdbc965..17ab9c484d 100644 --- a/src/components/Parameters/Parameters.tsx +++ b/src/components/Parameters/Parameters.tsx @@ -67,7 +67,7 @@ function DropdownWithinHeader(props) { ); } -function BodyContent(props: { content: MediaContentModel; description?: string }): JSX.Element { +export function BodyContent(props: { content: MediaContentModel; description?: string }): JSX.Element { const { content, description } = props; return ( diff --git a/src/components/index.ts b/src/components/index.ts index 0c7c19cb0d..e8117eb2a3 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -21,6 +21,8 @@ export * from './Responses/ResponseTitle'; export * from './ResponseSamples/ResponseSamples'; export * from './PayloadSamples/PayloadSamples'; export * from './MediaTypeSwitch/MediaTypesSwitch'; +export * from './Parameters/Parameters'; +export * from './PayloadSamples/Example'; export * from './ErrorBoundary'; export * from './StoreBuilder'; diff --git a/src/index.ts b/src/index.ts index 05d9cd0a4d..3477a2a43a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,6 @@ export * from './components'; export { MiddlePanel, Row, RightPanel, Section } from './common-elements/'; +export { OpenAPIEncoding } from './types'; export * from './services'; export * from './utils';