Homepage
Open in app
Sign in
Get started
APIs You Won't Hate
API development is a topic very close to our hearts. APIs You Won’t Hate started out as a book, with founder Phil pouring everything API related he knew, all the problems he faced, all the design decisions he wish he thought about earlier.
REST
HTTP/2
GraphQL
RPC
Archive
Consulting
Back to the Website
Follow
Low Code, No Code, and Automation for APIs — Gimmick or Godsend?
Low Code, No Code, and Automation for APIs — Gimmick or Godsend?
Designing an API using OpenAPI and going through modeling, mocking, etc. can save you wasting a bunch of time building the wrong thing, and…
Phil Sturgeon
Dec 18, 2023
A brief introduction to OpenAPI
A brief introduction to OpenAPI
It’s hard to work on APIs without hearing about OpenAPI, but what is it all about? This introduciton will get you from zero to hero.
Phil Sturgeon
Dec 23, 2023
OpenAPI & AsyncAPI $ref: Advanced Guide (Sponsored by Bump.sh)
OpenAPI & AsyncAPI $ref: Advanced Guide (Sponsored by Bump.sh)
After using OpenAPI or AsyncAPI for a while, you might notice your description documents have become a rather unwieldy mess of YAML and…
Phil Sturgeon
Nov 27, 2023
Working with the new Idempotency Keys RFC (Sponsored by HTTP Toolkit)
Working with the new Idempotency Keys RFC (Sponsored by HTTP Toolkit)
Idempotency is when doing an operation multiple times is guaranteed to have the same effect as doing it just once.
Phil Sturgeon
Dec 28, 2023
Latest
What is OpenAPI v4.0: Project Moonwalk (Sponsored by Bump.sh)
What is OpenAPI v4.0: Project Moonwalk (Sponsored by Bump.sh)
What is coming next for OpenAPI, as v4.0 of the OpenAPI Specification gets closer to being released? What changes are coming, how easy will…
Phil Sturgeon
Apr 12
Using OpenAPI to simplify building and testing Laravel APIs
Learn how to combine the power of the API Design-First workflow with OpenAPI tooling which massively simplify your Laravel code and tests.
Phil Sturgeon
Feb 22
Generating OpenAPI docs for Ruby on Rails with RSwag
API Code-first is the art of building an API, and then popping some annotations or metadata in there to output API documentation in an API…
Phil Sturgeon
Jan 23
Using OpenAPI to simplify building and testing Ruby on Rails APIs
Following the API Design-first approach with RoR API, leverage OpenAPI to handle request validation and contract testing.
Phil Sturgeon
Jan 23
Battle of the API Ratings: API Insights vs Rate my API
Battle of the API Ratings: API Insights vs Rate my API
Dive into a detailed comparison of Trebble’s API Insights and Zuplo’s Rate my API, exploring their unique approaches to evaluating API…
Phil Sturgeon
Jan 10
Low Code & No Code API Solutions — Are they Right for You?
Low Code & No Code API Solutions — Are they Right for You?
Explore the practicality and trade-offs of no/low code APIs, including tooling and categories, for efficient API development, including…
Phil Sturgeon
Jan 8
Utilize AI for API Governance with LintGPT
Utilize AI for API Governance with LintGPT
LintGPT from Optic is the latest way to automate your API Style Guides, combinging API Linting with ChatGPT.
Phil Sturgeon
Jan 5
Code-first: How to Generate OpenAPI from Code
API Code-first is the art of building an API, then finding ways to produce OpenAPI for docs/SDKs/etc. later. Will these tools work for you?
Phil Sturgeon
Jan 2
Popular OpenAPI Bundling Tools Compared
Popular OpenAPI Bundling Tools Compared
When OpenAPI or JSON Schema documents get massive or repetitive, the contents can be split across multiple documents (on the filesystem…
Phil Sturgeon
Nov 13, 2023
Contract Testing a Laravel API with OpenAPI | APIs You Won’t Hate
Contract Testing a Laravel API with OpenAPI | APIs You Won’t Hate
Your API does a bunch of great stuff, and your OpenAPI document tells everyone about all the great stuff that your API can do, but making…
Phil Sturgeon
Feb 3, 2022
Creating OpenAPI from HTTP Traffic
Creating OpenAPI from HTTP Traffic
More organizations are switching to API Design-first with OpenAPI, thanks to huge efforts from tooling vendors — from the bigger folks…
Phil Sturgeon
Dec 31, 2021
There’s No Reason to Write OpenAPI By Hand
There’s No Reason to Write OpenAPI By Hand
Some API developers use API descriptions to plan the interface of an API before building it, which is known as the “API design first”…
Phil Sturgeon
Sep 7, 2020
There’s No Reason to Write OpenAPI By Hand
There’s No Reason to Write OpenAPI By Hand
Some API developers use API descriptions to plan the interface of an API before building it, which is known as the “API design first”…
Phil Sturgeon
Mar 30, 2020
OpenAPI v3.1 and JSON Schema 2019–09
OpenAPI v3.1 and JSON Schema 2019–09
OpenAPI using an “extended subset” of JSON Schema has caused confusion forever, but it has been resolved for OpenAPI v3.1!
Phil Sturgeon
Feb 4, 2020
Automated Style Guides for REST, GraphQL and gRPC
Automated Style Guides for REST, GraphQL and gRPC
Ask 100 developers where a semicolon should go, and you’ll either get 100 answers, or a all-on-all fist fight. To save this from happening…
Phil Sturgeon
Nov 5, 2019
OpenAPI Callbacks and Webhooks
OpenAPI Callbacks and Webhooks
OpenAPI is thoroughly mainstream now with most modern API providers producing a description of their API for both internal and external…
Phil Sturgeon
Oct 30, 2019
API Design-First vs Code First
API Design-First vs Code First
Should you do “API Design-first” or “code-first”, and what do these things even mean?
Phil Sturgeon
Oct 23, 2019
Update on OpenAPI and JSON Schema
Update on OpenAPI and JSON Schema
The API design space is booming right now, with OpenAPI and JSON Schema tooling seriously growing up. My new job at Stoplight.io is…
Phil Sturgeon
Sep 6, 2019
Server-Side Validation with API Descriptions
Server-Side Validation with API Descriptions
Are you treating code and API descriptions as two separate things which need to be kept in sync? Now you can stop doing that.
Phil Sturgeon
May 27, 2019
REST and Hypermedia in 2019
REST and Hypermedia in 2019
Nobody out there thinks you should always use REST for every single API being built, but you should definitely use it for some.
Phil Sturgeon
May 20, 2019
Useful API Errors for REST, GraphQL and gRPC
Useful API Errors for REST, GraphQL and gRPC
Dealing with the Happy Path™ in an API is pretty easy, but creating useful error messages can be tricky at first.
Phil Sturgeon
Apr 16, 2019
Resolving Overloaded Terms for API Specifications… Descriptions… Contracts?
Resolving Overloaded Terms for API Specifications… Descriptions… Contracts?
Specifications, Descriptions, Documents, Spec Files, Contracts, ugh… they’re the same thing!
Phil Sturgeon
Apr 4, 2019
Caching is hard, draw me a picture–Updated
Caching is hard, draw me a picture–Updated
Another guest post from our friend Darrel Miller, this time explaining caching.
Phil Sturgeon
Mar 28, 2019
An OAuth2 middleware for fetch()
I was a bit frustrated with the existing offerings for OAuth2 clients in Javascript. I heavily use the Fetch API directly, but Web API’s…
Evert Pot
Mar 18, 2019
About APIs You Won't Hate
Latest Stories
Archive
About Medium
Terms
Privacy
Teams