diff --git a/.changeset/poor-bats-cheer.md b/.changeset/poor-bats-cheer.md
new file mode 100644
index 000000000..c5fedbfbf
--- /dev/null
+++ b/.changeset/poor-bats-cheer.md
@@ -0,0 +1,5 @@
+---
+'@gitbook/react-openapi': minor
+---
+
+Display pattern if available in parmas in OpenAPI block
diff --git a/packages/gitbook/src/components/DocumentView/OpenAPI/style.css b/packages/gitbook/src/components/DocumentView/OpenAPI/style.css
index a3c1a6ff9..cc7f3f69e 100644
--- a/packages/gitbook/src/components/DocumentView/OpenAPI/style.css
+++ b/packages/gitbook/src/components/DocumentView/OpenAPI/style.css
@@ -174,7 +174,8 @@
@apply prose-sm;
}
-.openapi-schema-example {
+.openapi-schema-example,
+.openapi-schema-pattern {
@apply prose-sm mt-2 text-dark/10 dark:text-light/10;
}
diff --git a/packages/react-openapi/src/OpenAPISchema.tsx b/packages/react-openapi/src/OpenAPISchema.tsx
index 4977ed700..6060cf6b6 100644
--- a/packages/react-openapi/src/OpenAPISchema.tsx
+++ b/packages/react-openapi/src/OpenAPISchema.tsx
@@ -104,6 +104,11 @@ export function OpenAPISchemaProperty(
Example: {JSON.stringify(schema.example)}
) : null}
+ {schema.pattern ? (
+
{schema.pattern}
+