Adding a Swagger example (syntax is deprecated).