What is OpenAPI, and how does Swashbuckle generate an OpenAPI document for an ASP.NET Core API?
OpenAPI is a language-agnostic specification format for describing REST API contracts (endpoints, parameters, request/response schemas, authentication) in JSON or YAML.