Closed krhubert closed 2 years ago
Hi @krhubert, thanks for reporting, will try to get it to it sometime next week. If it's urgent for you, feel free to try to open a PR sooner and I'll review it
@krhubert This should be fixed and supported now, please try with rapini@1.9.0
🎉 .
One small note I noticed about your example though, the proper syntax for inside the type_a.yaml
file to reference the main file should be spec.yaml#/components/schemas/SharedEnumType
to my understanding
Hey,
I want to use components that are defined in different file, but it's impossible to share let's say enum (or any other component). This makes
$ref: files
unusable (except to few top level fields likepaths
orcomponetns
)package.json
spec.yaml
type_a.yaml
cmd to run:
result index.js (see #1):