64 karma · joined July 19, 2019
Fun fact, you can actually rebuild the entire core functionality of clay using https://pipe0.com with ~1000 lines of code.
I think that we'll soon be able to help you generate mock clients as well. Probably by generating a first pass with AI and letting you adjust the details manually. This way it could be one-click.
We're trying to build the best tool out there for team that want to build api-first and speed up development and code generation this way.
I'm happy you wrote this article!
Here are a few questions for you: - Do you think the mock API is the best way to get Feedback from stakeholders? - How do you merge your changed OpenAPI document into your master documentation when it's time for prod? - How do you share your draft contract with e.g. a frontend engineer so they can get started building the UI?
1.) The ability to document things with tools like swagger ui, api-fiddle, scalar 2.) The ability to automate things with auto-generated api-clients, mocks, tests 3.) The ability to secure things with tools like Cloudflare API Shield 3.) The ability to go api-first and speed development up
In a fully typesafe world, it should be pretty hard to derive from the shema this way.
Don't get me wrong here. Where I say "busy" I don't mean their work wasn't important (it was!) but we had our own projects and jumping on a call to improve errors messages is not too exciting for most of us - and it's not the stuff that drives promotions. As a develper it's simply to easy to gatekeep code.
Now follows a shameless plug: I'd be so excited to hear your opinion about a tool I'm building. It's called https://api-fiddle.com. Conceptually, it should help developers work API-first instead of code-first. It's great for devs because it makes the work faster and safer. BUT, an added benefit is that API docs are no longer burried in code and technical writers have a nice interface to contribute to them (and hold devs accountable!).
Or, ignoring technology. Find a personal trainer. Or a really small workout group that has some sort of trainer that really cares.