Creating Our OpenAPI Document with SwaggerHub

The info section

The info section of the OAS file holds general information about the OpenAPI Specification, such as the version number of the specification (not the version of the implemented API, just the specification document), the title, and the description. It turns out that we supplied these values when the SwaggerHub Editor asked us to enter data in order to start the editing process. We can also add a comment block that contains some additional metadata about the specification, as shown in the following code:

Get hands-on with 1200+ tech skills courses.