olsona / har_to_oas Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dcarr178/har2openapi
Generate openapi spec api documentation from captured har files
This project forked from dcarr178/har2openapi
Generate openapi spec api documentation from captured har files
I've noticed that sometimes the exact same example will be written out twice. Here's an example from a HAR generated by navigating Reddit:
example-0001:
value:
listingOrder: []
moderatedAfter: null
moderatingProfiles: {}
moderatingSubreddits: {}
profiles: {}
subredditAboutInfo: {}
subreddits: {}
example-0002:
value:
listingOrder: []
moderatedAfter: null
moderatingProfiles: {}
moderatingSubreddits: {}
profiles: {}
subredditAboutInfo: {}
subreddits: {}
It would be cool if this tool could notice when two examples are the same and not print out the second one. I do see the relevant code, so I'm not sure how these examples are getting through.
Extra idea: user setting to let the tool check all relevant examples to see if they have the same typing, and if they do, only print out the first once. Maybe not all users want this, but it might be worthwhile, and could be a mildly interesting challenge.
It'd be neat to say that, for example, all "password" fields should be anonymized, and to specify what they should be anonymized to. It'd also be neat to say, for example, all "email" fields should be anonymized, but only if they belong to an object keyed by "user".
I'm envisioning a config like this:
"replaceValues": [
["password", "swordfish"],
[["user","email"], "[email protected]"]
]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.