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'
When using the redoc cli 'split' function to split a spec file into multiple yaml files, throws an error already on the first file: