apideck-libraries / portman

Port OpenAPI Specs to Postman Collections, inject test suite and run via Newman 👨🏽‍🚀
http://getportman.com/
Apache License 2.0
638 stars 59 forks source link

Reference files are not loaded #657

Closed thim81 closed 1 month ago

thim81 commented 1 month ago

When using the redoc cli 'split' function to split a spec file into multiple yaml files, throws an error already on the first file:

openapi: 3.0.0
info:
  title: Sabam PIM
  description: This is the Sabam PIM
  version: 1.0.0
paths:
  /api/v1/health:
    $ref: ./paths/api_v1_health.yaml
  /api/v1/{_locale}/product/definition/{name}:
    $ref: ./paths/api_v1_{_locale}_product_definition_{name}.yaml
tags:
  - name: System
  - name: Product
 OAS File Error - There is an issue with the OpenAPI file, preventing it from being parsed properly.
 ResolverError: Error opening file “~/sabam-pim/tmp/converted/paths/api_v1_health.yaml" 
ENOENT: no such file or directory, open ‘~/sabam-pim/tmp/converted/paths/api_v1_health.yaml'
thim81 commented 1 month ago

fixed in release v1.30.3