(t *testing.T)
| 14 | ) |
| 15 | |
| 16 | func TestEndpointsDocumented(t *testing.T) { |
| 17 | t.Parallel() |
| 18 | |
| 19 | swaggerComments, err := coderdtest.ParseSwaggerComments("..", "../workspaceconnwatcher") |
| 20 | require.NoError(t, err, "can't parse swagger comments") |
| 21 | require.NotEmpty(t, swaggerComments, "swagger comments must be present") |
| 22 | |
| 23 | _, _, api := coderdtest.NewWithAPI(t, nil) |
| 24 | coderdtest.VerifySwaggerDefinitions(t, api.APIHandler, swaggerComments, coderdtest.WithSwaggerRoutePrefix("/api/v2")) |
| 25 | } |
| 26 | |
| 27 | func TestSDKFieldsFormatted(t *testing.T) { |
| 28 | t.Parallel() |
nothing calls this directly
no test coverage detected