acacode / acacode/swagger-typescript-api

How to access the Vendor Extensions in swagger schema

Open
#529 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

I am customising the template and I have to fetch data from the vendor extension (e.g. x-internal-id). Inside the route i can see that its available at the route.raw in procedure-call.ejs of modular. But when trying to access it like route.raw.'x-internal-id', i am getting error in client generation.

Please help how can i access Vendor Extensions (https://swagger.io/specification/v2/#vendorExtensions).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.