Skip to content

Commit 129035d

Browse files
authored
docs: fix OpenAPI Spec example in jest-openapi README (#273)
1 parent 5a2fb72 commit 129035d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/jest-openapi/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ paths:
210210
description: Response body should be an ExampleSchemaObject
211211
content:
212212
application/json:
213-
schema: '#/components/schemas/ExampleSchemaObject'
213+
schema:
214+
$ref: '#/components/schemas/ExampleSchemaObject'
214215
components:
215216
schemas:
216217
ExampleSchemaObject:

0 commit comments

Comments
 (0)