Designing APIs with Swagger and OpenAPI

  • 11h 28m 56s
  • Joshua S. Ponelat, Lukas L. Rosenstock
  • Manning Publications
  • 2022

Follow real-world API projects from concept to production, and learn hands-on how to describe and design APIs using OpenAPI.

In Designing APIs with Swagger and OpenAPI you will learn how to:

  • Understand OpenAPI syntax and structure
  • Use Swagger and other tooling to create OpenAPI definitions
  • Design authentication and authorization
  • Turn an OpenAPI description into online documentation
  • Automate processes and generating code
  • Iterate an API design with user stories
  • Build a frontend against a mock server
  • Generate backend code with Swagger Codegen
  • Versioning an API and dodging breaking changes
  • Work with cross-functional teams

Designing APIs with Swagger and OpenAPI is a comprehensive guide to designing and describing your first RESTful API using the most widely adopted standards. Following expert instruction from Swagger core contributor Josh Ponelat and API consultant Lukas Rosenstock, you’ll spend each chapter progressively expanding the kind of APIs you’ll want to build in the real world. You’ll utilize OpenAPI and Swagger to help automate your workflow, and free up your time to work on more exciting features. Learn the syntax and structure of OpenAPI definitions, create and iterate on an API design with common tools, and release your API to the public.

about the technology

Create web APIs that customers and developers will love! Using Swagger, a collection of tools for defining and documenting REST APIs, you will build safe, controlled access to your software. And because Swagger implements the vendor-neutral OpenAPI specification, you’ll be building to the same standards adopted by Google, Microsoft, and Amazon.

about the book

Designing APIs with Swagger and OpenAPI introduces a design-first approach. Written for developers new to API design, it follows the lifecycle of an API project from concept to production. You’ll explore the dos and don’ts of APIs through progressively complete examples. You’ll get hands-on experience designing APIs for specific business needs, using open source tools to generate documentation, and building developer-friendly components like mocks and client SDKs.

About the Author

Josh Ponelat is the Swagger Open Source lead at SmartBear. Lukas Rosenstock is an independent software developer and API consultant.

In this Audiobook

  • Chapter 1 - Introducing APIs and OpenAPI
  • Chapter 2 - Getting Set up to Make API Requests
  • Chapter 3 - Our First Taste of OpenAPI Definitions
  • Chapter 4 - Using Swagger Editor to Write OpenAPI Definitions
  • Chapter 5 - Describing API Responses
  • Chapter 6 - Creating Resources
  • Chapter 7 - Adding Authentication and Authorization
  • Chapter 8 - Preparing and Hosting API Documentation
  • Chapter 9 - Designing a Web Application
  • Chapter 10 - Creating an API Design Using OpenAPI
  • Chapter 11 - Building a Change Workflow Around API Design-first
  • Chapter 12 - Implementing Frontend Code and Reacting to Changes
  • Chapter 13 - Building a Backend with Node.js and Swagger Codegen
  • Chapter 14 - Integrating and Releasing the Web Application
  • Chapter 15 - Designing the next API Iteration
  • Chapter 16 - Designing Schemas with Composition in OpenAPI
  • Chapter 17 - Scaling Collection Endpoints with Filters and Pagination
  • Chapter 18 - Supporting the Unhappy Path: Error Handling with Problem+json
  • Chapter 19 - Improving Input Validation with Advanced JSON Schema
  • Chapter 20 - Versioning an API and Handling Breaking Changes
  • Chapter 21 - The API Prerelease Checklist
  • Appendix A: Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.6 of 18 users Rating 4.6 of 18 users (18)
Rating 4.6 of 164 users Rating 4.6 of 164 users (164)