This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What tooling would you use to generate an OpenAPI documentation for your ASP.NET Core web API?
Swashbuckle
Swagger UI
Swagger Codegen
What does Swagger UI do?
It provides a visual interface to create OpenAPI documentation.
The Swagger UI enables you to interact and visualize an API's resources without requiring access to the source code.
Provide a specification of how API documentation should be structured.
What is the purpose of using the Produces data attribute with your API?
Produces
It indicates what type of content to send to the method.
It indicates which status codes the method might produce.
It indicates to the consumer of the API what content-type to expect.
You must answer all questions before checking your work.
Was this page helpful?