acacode / acacode/swagger-typescript-api

How to access the Vendor Extensions in swagger schema

Aperta
#529 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
4.1k
Fork
436
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.