Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3655

Postman/OpenApi 3.0.0 : import file with remote reference fails

$
0
0

When I import a specification file (OpenApi 3.0.0) containing remote references to schemas and requestBodies description, Postman is not able to find schema for response from my spec file.The ./components/schemas and ./components/requestBodies content are not parsed.

Is Postman able to read remote references ?

Steps to reproduce the behavior:

  1. Import file
  2. Generate Collection from OpenApi 3.0 schema

spec

  1. Collections : Get all users

get users

  1. Clic on example : "The users list has been succefully retrieved"
  2. The expected response body is not recognized

schema not found

The ./components/schemas/User.json is not found

{    "value": "reference ./components/schemas/User.json not found in the api spec"}
  • App Type : Native App
  • Postman v7.13.0
  • OS: Ubuntu 19.04

Viewing all articles
Browse latest Browse all 3655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>