Tripletex schema: Does not satisfy the constraint 'RouterBaseObject' and circularly references #663
Unanswered
thhermansen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I wanted to use the client with Tripletex's API1.
I have downloaded their schema (tripletex-schema.ts.zip) and written the following code to make a simple test:
I get two issues:
1: TS compile error on line
const client = createClient<Normalized>({. It states that:2: TS complains about circular dependencies:
I'm having a bit of a hard time figure out what is wrong here. I found examples of swagger 2.0 schema2, so I'm guessing it is supposed to be ok for swagger 2.0 too?
Footnotes
https://tripletex.no/v2-docs/ ↩
https://github.com/ardatan/feTS/blob/master/examples/navitia/navitia-oas.ts ↩
Beta Was this translation helpful? Give feedback.
All reactions