(t *testing.T, comment SwaggerComment)
| 290 | } |
| 291 | |
| 292 | func assertSuccessOrFailureDefined(t *testing.T, comment SwaggerComment) { |
| 293 | assert.True(t, len(comment.successes) > 0 || len(comment.failures) > 0, "At least one @Success or @Failure annotation must be defined") |
| 294 | } |
| 295 | |
| 296 | func assertRequiredAnnotations(t *testing.T, comment SwaggerComment) { |
| 297 | assert.NotEmpty(t, comment.id, "@ID must be defined") |
no outgoing calls
no test coverage detected