Azure / Azure/oav

`response_schema_not_in_spec` erroneously thrown while resolving `$ref` for an example response body

Open
#1,021 1 comment 0 reactions 1 assignee Claimed by @scbedd View on GitHub
Dominant language
TypeScript
Stars
104
Forks
62
Avg merge
2d 12h
Merged PRs (30d)
5

Description

[specification](https://github.com/Azure/azure-rest-api-specs/blob/f68799746cf80556cc460dc08ae4e3b741274d1c/specification/maps/data-plane/Creator/preview/2.0/data.json#L167:22)
[failing example](https://github.com/Azure/azure-rest-api-specs/blob/f68799746cf80556cc460dc08ae4e3b741274d1c/specification/maps/data-plane/Creator/preview/2.0/examples/data/Data_Upload.json#L26:16)

Error looks like:

![image](https://github.com/Azure/oav/assets/45376673/a52cb0ef-b012-49f1-ada2-0c178929456c)

This is caused because there is _something_ that `oav` is doing wrong when resolving the external ref for the `response`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.