Designing APIs with Swagger and OpenAPI
eBook - ePub

Designing APIs with Swagger and OpenAPI

  1. 424 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Designing APIs with Swagger and OpenAPI

About this book

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. What's inside OpenAPI syntax and structure
Using Swagger to create OpenAPI definitions
Automating processes and generating code
Working with cross-functional teams About the reader
For web developers. No prior knowledge of Swagger or OpenAPI required. About the author
Josh Ponelat is the Swagger Open Source lead at SmartBear. Lukas Rosenstock is an independent software developer and API consultant.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Designing APIs with Swagger and OpenAPI by Josh Ponelat,Lukas Rosenstock in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. inside front cover
  2. Designing APIs with Swagger and OpenAPI
  3. Copyright
  4. dedication
  5. contents
  6. front matter
  7. Part 1 Describing APIs
  8. 1 Introducing APIs and OpenAPI
  9. 2 Getting set up to make API requests
  10. 3 Our first taste of OpenAPI definitions
  11. 4 Using Swagger Editor to write OpenAPI definitions
  12. 5 Describing API responses
  13. 6 Creating resources
  14. 7 Adding authentication and authorization
  15. 8 Preparing and hosting API documentation
  16. Part 2 Design-first
  17. 9 Designing a web application
  18. 10 Creating an API design using OpenAPI
  19. 11 Building a change workflow around API design-first
  20. 12 Implementing frontend code and reacting to changes
  21. 13 Building a backend with Node.js and Swagger Codegen
  22. 14 Integrating and releasing the web application
  23. Part 3 Extending APIs
  24. 15 Designing the next API iteration
  25. 16 Designing schemas with composition in OpenAPI
  26. 17 Scaling collection endpoints with filters and pagination
  27. 18 Supporting the unhappy path: Error handling with problem+json
  28. 19 Improving input validation with advanced JSON Schema
  29. 20 Versioning an API and handling breaking changes
  30. 21 The API prerelease checklist
  31. Appendix A. Swagger 2.0, OpenAPI 3.0, and OpenAPI 3.1
  32. index
  33. inside back cover