Skip to content

Unable to use $ref in "paths" #447

Open
@bartekczyz

Description

@bartekczyz

Hello. I'm getting errors while generating typescript definitions for my api. Some paths are defined in other files, so I pass a $ref to them. Feel free to check out the minimal bug repro repository I made https://github.com/bartekczyz/swagger-typescript-api-bug-repro

I'm getting

TypeError: Cannot create property 'consumes' on string './paths/repro.yaml#/hello'

Is there a workaround I could use? 🤔

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions