Skip to Content
Designing APIs with Swagger and OpenAPI
book

Designing APIs with Swagger and OpenAPI

by Lukas Rosenstock, Joshua Ponelat
June 2022
Intermediate to advanced
424 pages
11h 50m
English
Manning Publications
Content preview from Designing APIs with Swagger and OpenAPI

8 Preparing and hosting API documentation

This chapter covers

  • Adding metadata to our API definition
  • Writing a description in Markdown
  • Grouping operations together using tags
  • Hosting our API documentation online using Swagger UI and Netlify.com

In this chapter we’re going to take our OpenAPI definition and turn it into online documentation (see figure 8.1). Before hosting it online, we’ll add some human touches, such as API metadata, rich text descriptions, and operation tags. These touches will make it a lot easier for our users to consume.

08-01

Figure 8.1 Where we are

So far we’ve only been describing the bare essentials of the API, such as what ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Design and Build Great Web APIs

Design and Build Great Web APIs

Mike Amundsen
Mastering API Architecture

Mastering API Architecture

James Gough, Daniel Bryant, Matthew Auburn

Publisher Resources

ISBN: 9781617296284Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link