You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please help me.
I am in an environment where I cannot interact with the external network without going through a proxy server.
I clone this repogitory and ran this sripts that use quicktype.
This script does not terminate at all, so I added the --debug all option to quicktype and found that it tries to retrieve the file referenced by the input file from the server, fails (there is a wait time of several tens of seconds at this point), and then retrieves the file locally.
It seems that the same thing is happening with each of the many input files, and this is adding up to a very long time.
For example, if this file is given as input, quicktype with the --debug all option will output the following log.
$ ./node_modules/.bin/quicktype -v
quicktype version 23.0.19
Visit quicktype.io for more info.
$ ./node_modules/.bin/quicktype -s schema ./tests/testCase.json -o testCase.ts --just-types --debug all
resolving # relative to tests/testCase.json# (tests/testCase.json#)
trying to fetch tests/testCase.json
successully fetched tests/testCase.json
adding mapping https://open-metadata.org/schema/tests/testCase.json# (tests/testCase.json#)
adding mapping https://open-metadata.org/schema/tests/testCase.json#/definitions (tests/testCase.json#definitions)
...
adding mapping https://open-metadata.org/schema/tests/testCase.json#/properties/deleted (tests/testCase.json#properties/deleted)
resolved to # (tests/testCase.json#)
resolving # relative to tests/testCase.json# (tests/testCase.json#)
resolved to # (tests/testCase.json#)
resolving ../type/entityHistory.json#/definitions/changeDescription relative to https://open-metadata.org/schema/tests/testCase.json#/properties/changeDescription (tests/testCase.json#/properties/changeDescription)
trying to fetch https://open-metadata.org/schema/type/entityHistory.json # This takes a very long time.
couldn't fetch https://open-metadata.org/schema/type/entityHistory.jsontrying to fetch type/entityHistory.jsonsuccessully fetched type/entityHistory.jsonadding mapping https://open-metadata.org/schema/type/entityHistory.json# (type/entityHistory.json#)...
How do I get quicktype to ignore the URL in $Id and fetch the file specified in $ref from a local directory?
Or how do I set up a proxy for quicktype?
I have my environment set up to work through proxies such as git, wget, maven, npm, etc., but quicktype cannot set up a proxy no matter how many times I try. Maybe I am overlooking something. Please give me a clue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Please help me.
I am in an environment where I cannot interact with the external network without going through a proxy server.
I clone this repogitory and ran this sripts that use quicktype.
This script does not terminate at all, so I added the
--debug all
option to quicktype and found that it tries to retrieve the file referenced by the input file from the server, fails (there is a wait time of several tens of seconds at this point), and then retrieves the file locally.It seems that the same thing is happening with each of the many input files, and this is adding up to a very long time.
For example, if this file is given as input, quicktype with the
--debug all
option will output the following log.How do I get quicktype to ignore the URL in $Id and fetch the file specified in $ref from a local directory?
Or how do I set up a proxy for quicktype?
I have my environment set up to work through proxies such as git, wget, maven, npm, etc., but quicktype cannot set up a proxy no matter how many times I try. Maybe I am overlooking something. Please give me a clue.
Beta Was this translation helpful? Give feedback.
All reactions