silasbw / swagger-fluent

A fluent client for OpenAPI and Swagger
MIT License
8 stars 8 forks source link

error parsing spec: Created Component, but require templated one. #55

Open mvayngrib opened 4 years ago

mvayngrib commented 4 years ago

thanks for the lib @silasbw, very useful!

i ran into a spec it couldn't parse: https://documentation.primetrust.com/ (download at the top)

i'm getting an error: Created Component, but require templated one.

is the spec malformed or is it something u don't support yet?

AshinWu commented 4 years ago

I also had this problem because I switched the node version from v8.10.0 to v12.10.0

mvayngrib commented 4 years ago

@AshinWu not sure how node version would change anything, the error comes from parsing a json spec object

davidquarles commented 3 years ago

Any update here? Doesn't seem like any dialogue is happening and if IIUC this is the upstream fix for the two issues linked above. My team would certainly appreciate mitigation if it's an easy fix. No pressure, of course – I'm aware that this is free software and it has been... quite a year 🤕

Thanks!

silasbw commented 3 years ago

I'd love to address this, but I haven't had the time to engage and address. Would welcome any PRs or other contributions.

If I had to guess, swagger-fluent isn't supporting the spec well and probably needs a little it of work to do so.

Keramblock commented 3 years ago

Same here =(

visla-xugeng commented 3 years ago

Is there any update? My prometheus-adapter version is v0.9.0 (helm version 2.16.0). Once I installed it, my external-secret pod crashed again and again.

Keramblock commented 3 years ago

My workaround: switching from prometheus-adapter to keda.sh Hope it helps someone.