Files
redocly-cli/__tests__/bundle/bundle-external-value/test-wrong-examples.yaml
2024-10-03 20:00:41 +03:00

29 lines
744 B
YAML

openapi: 3.1.0
security: []
info:
version: 1.0.0
title: Example.com
termsOfService: https://example.com/terms/
contact:
email: contact@example.com
url: http://example.com/contact
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
description: OpenAPI description with external example
components: {}
paths:
/:
post:
summary: Test request externalValue with relative reference in examples
requestBody:
content:
application/xml:
schema:
type: object
examples:
test-wrong-ref:
summary: Example shouldn't resolved to value
externalValue: './external-value-bad-path.json'