Uh oh!
There was an error while loading. Please reload this page.
[WIP] add support to remote files - #2373
Conversation
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
wing328
commented
Mar 12, 2019
@ramzimaalej thanks for the PR. The |
Catscratch
commented
May 23, 2019
Bump! Please merge it into master as soon as it is working. |
ramzimaalej
commented
May 23, 2019
using the same code as "-i" command would mean slower execution as it loads and validates the api file, unless we want to undertake a refactoring to make the code look the same. What I did here is to verify if the provided file location is valid, if yes download the file and initiate the processing in the same fashion as a local file |
jimschubert
commented
Jun 6, 2019
@ramzimaalej it seems to me (please correct me if I'm wrong), that this doesn't handle split remote files and would in fact break this support? Also, renaming to a single local yaml file seems like this would break when the remote file is JSON. I'm not following the benefit of including the logic here when it already exists in swagger-parser. Could you provide an example of how this adds value in this scenario? |
wing328
commented
Sep 14, 2019
Closed via #3826 |
PR checklist
./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh,./bin/openapi3/{LANG}-petstore.sh,./bin/security/{LANG}-petstore.shand./bin/openapi3/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\.master,. Default:3.4.x,4.0.xmaster.Description of the PR
(details of the change, additional tests that have been done, reference to the issue for tracking, etc)