diff --git a/document_examples_test.go b/document_examples_test.go index 33d89868..267e0e15 100644 --- a/document_examples_test.go +++ b/document_examples_test.go @@ -700,9 +700,12 @@ components: $ref: './models/product.yaml' customer: $ref: 'https://example.com/schemas/customer.yaml' + warehouse: + $ref: 'https://example.com/schemas/warehouse.yaml#/components/schemas/Warehouse' required: - id - product + - warehouse Pet: $ref: './models/pet.yaml' ErrorResponse: