< Summary

Information
Class: Syki.Back.Features.Academic.CreateDiscipline.CreateDisciplineRequestsExamples
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Academic/CreateDiscipline/CreateDisciplineRequestsExamples.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 17
Coverable lines: 17
Total lines: 24
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Academic/CreateDiscipline/CreateDisciplineRequestsExamples.cs

#LineLine coverage
 1namespace Syki.Back.Features.Academic.CreateDiscipline;
 2
 3public class CreateDisciplineRequestsExamples : IMultipleExamplesProvider<CreateDisciplineIn>
 4{
 5    public IEnumerable<SwaggerExample<CreateDisciplineIn>> GetExamples()
 6    {
 07        yield return SwaggerExample.Create(
 08      "Banco de Dados",
 09      new CreateDisciplineIn
 010      {
 011        Name = "Banco de Dados",
 012        Courses = [Guid.NewGuid(), Guid.NewGuid()]
 013      }
 014    );
 015        yield return SwaggerExample.Create(
 016      "Programação Orientada a Objetos",
 017      new CreateDisciplineIn
 018      {
 019        Name = "Programação Orientada a Objetos",
 020        Courses = [Guid.NewGuid()]
 021      }
 022    );
 023    }
 24}

Methods/Properties

GetExamples()