API-Flow icon indicating copy to clipboard operation
API-Flow copied to clipboard

Support URL Objects

Open philsturgeon opened this issue 8 years ago • 2 comments

At the day job we're programmatically converting postman files found in various repos into OpenAPI. I can advise the teams to improve their Postman collections, but do not have direct control over them, and need the ability to repeatedly convert these collections, with only increasing quality. :)

We have some hand-made collections where the output is URLs all showing the root path /.

screen shot 2017-11-30 at 1 17 47 pm

That has some further weird knock-on effects:

screen shot 2017-11-30 at 1 18 53 pm

The issue seems to happen if there are some missing properties in the Postman URL Object, but if 'raw' is present why not just use that.

The main commit here is https://github.com/luckymarmot/API-Flow/pull/145/commits/655b752ebe3970f9271469a85097e7995db98b60, but there's a bunch of other changes floating around. Please merge some of the other PRs I've made and it'll start to look less messy around here :D

philsturgeon avatar Nov 30 '17 18:11 philsturgeon

Done! Ready! Merge me :D

philsturgeon avatar Jan 16 '18 19:01 philsturgeon

This has a bunch of extra commits, and I'll tidy them once somebody has started merging some of my bajillion open unanswered PRs. For now the megabranch will continue.

philsturgeon avatar Jan 17 '18 00:01 philsturgeon