Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Book Review: “Designing APIs with Swagger and OpenAPI”

  • August 01, 2023
  • 3017 Unique Views
  • 2 min read
Table of Contents
FactsChaptersPros and consConclusion

Disclaimer: this post includes affiliate links; I may receive compensation if you purchase the book from the different links provided in this post.

This review is about Designing APIs with Swagger and OpenAPI by Joshua S. Ponelat and Lukas L. Rosenstock from Manning.

I'm continuing my API journey by reading books, viewing relevant YouTube videos, and reading relevant IETF RFCs.

Today is a book review.

Facts

  • 21 chapters
  • $38.39 (eBook)

Chapters

  • Part 1: Describing APIs
    1. Introducing APIs and OpenAPI
    2. Getting set up to make API requests
    3. Our first taste of OpenAPI definitions
    4. Using Swagger Editor to write OpenAPI definitions
    5. Describing API responses
    6. Creating resources
    7. Adding authentication and authorization
    8. Preparing and hosting API documentation
  • Part 2: Design first
    1. Designing a web application
    2. Creating an API design using OpenAPI
    3. Building a change workflow around API design–first
    4. Implementing frontend code and reacting to changes
    5. Building a backend with Node.js and Swagger Codegen
    6. Integrating and releasing the web application
  • Part 3: Extending APIs
    1. Designing the next API iteration
    2. Designing schemas with composition in OpenAPI
    3. Scaling collection endpoints with filters and pagination
    4. Supporting the unhappy path: Error handling with problem+json
    5. Improving input validation with advanced JSON Schema
    6. Versioning an API and handling breaking changes
    7. The API prerelease checklist

The book goes through designing a complete API via a demo project, the Farmstall API.

Pros and cons

The review is concise, to say the least.

The book's main benefit is also its main issue: it focuses on beginners. Everything is very detailed. For example, the authors dedicated chapter 11 to explaining Git's basics.

I'm not an API expert, but I didn't learn anything. Hence, I don't have a lot to say.

Conclusion

If you're a true newbie, i.e., you know nothing about HTTP, requests and responses, OpenAPI, and Postman, this book is for you. It goes into great detail in explaining everything from scratch.

If you have more than a passing familiarity with any of the above, I'm afraid it will be a loss of your money and time.


Originally published at A Java Geek on July 16th, 2023

Book Announcement: “OpenJDK Migration Guide for Dummies”

Learn how to migrate to OpenJDK and get tips on how to select the right Java partner to assist with your migration and provide ongoing support, security updates, application tuning, cost reductions, and expertise.

Book Review: “API Design Patterns”

This review is about API Design Patterns by JJ Geewax from Manning. Check it out and if you’ve read it too, what did you think?

Book Review: “Effortless Cloud-Native App Development Using Skaffold”

There is no better time than the present for a book such as this, which can surely be seen to be some kind of Skaffold Bible.

The author provides a complete and thorough overview of the central issues faced by users of Kubernetes, presents Skaffold as a solution, highlights its features and pitfalls, while placing it within the context of the broader ecosystem of comparable solutions.

Book Review: “Help Your Boss Help You”

Some books were written to be read once and put aside, others to be read thoroughly several times and then to be placed behind glass to be broken in case of emergency.

This book is of the latter kind—once you’ve read through it a few times, and dipped into the areas that speak to you most, you want to have it nearby both as a PDF and in hard copy format—as a backup just in case you can’t find that PDF at the crucial moment when you really need to have a response at hand in times of crisis.

Book Review: “Java by Comparison”

The book “Java by Comparison” by Simon Harrer, Jörg Lenhard, and Linus Dietz, promises the reader to become a “Java Craftsman” through the study of 70 examples.

The book is published by The Pragmatic Bookshelf.

Each “example” is structured as a before-and-after comparison.

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (0)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

No comments yet. Be the first.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard