The Swagger editor is a tool used to build data models. In this video, learn how to include data types, enums, collections, and other operators in API designs with the tool.
- In this lesson, we'll learn how to describe … query parameters within an API definition. … In the first demonstration, … we build a simple end point that listed all the products … available in the H Plus Sports catalog. … It did not require API clients to provide additional data, … which isn't the case for most API operations. … Let's enhance that operation … to accept two additional query parameters, … page size and page number, … that introduce a paging capability into the API. … We'll introduce the new parameters using Swagger Editor. … When we describe parameters for an API definition, … we place them underneath the operation. … So I'm going to create a new line below get, … and here I can rely upon the auto-completion … to specify the parameters object. … Now inside of the parameters object, … we can provide an array of parameters. … The way we do that is by specifying a dash nested two spaces … within the parameters object, … then we use the in property to define the type of parameter. …
- The architecture of the Swagger ecosystem
- Using the tools within the Swagger platform
- Building a basic API using Swagger
- Defining APIs
- Creating API documentation using Swagger UI
- Creating and publishing APIs with SwaggerHub
- API management with Apigee
- Monitoring API usage
Skill Level Intermediate
HTTP Essential Trainingwith Morten Rand-Hendriksen50m 18s Beginner
1. Swagger Ecosystem
2. Building API Specifications
3. Creating and Publishing APIs with SwaggerHub
4. Capstone Project
Next steps1m 19s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.