kontent-ai / model-generator-net

Kontent.ai .NET model generator.
https://www.nuget.org/packages/Kontent.Ai.ModelGenerator
MIT License
17 stars 19 forks source link

112 new class format #117

Closed Sevitas closed 2 years ago

Sevitas commented 3 years ago

Motivation

Fixes #112

Checklist

How to test

Generate models for DAPI/MAPI to generate mapi model you need to provide a MAPI token in command line args with -k arg

codecov[bot] commented 3 years ago

Codecov Report

Merging #117 (bec2582) into master (a18ae5d) will increase coverage by 1.72%. The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
+ Coverage   81.56%   83.29%   +1.72%     
==========================================
  Files          13       20       +7     
  Lines         640      772     +132     
  Branches       56       76      +20     
==========================================
+ Hits          522      643     +121     
- Misses        101      107       +6     
- Partials       17       22       +5     
Impacted Files Coverage Δ
...enerator.Core/Common/InvalidIdentifierException.cs 100.00% <ø> (ø)
...or.Core/Generators/Class/BaseClassCodeGenerator.cs 86.27% <ø> (ø)
...rator.Core/Generators/TypeProviderCodeGenerator.cs 78.12% <ø> (ø)
...Kontent.ModelGenerator.Core/Helpers/TextHelpers.cs 100.00% <ø> (ø)
...ico.Kontent.ModelGenerator/ValidationExtensions.cs 23.80% <15.38%> (-13.70%) :arrow_down:
...ntico.Kontent.ModelGenerator.Core/CodeGenerator.cs 57.05% <55.17%> (+6.36%) :arrow_up:
...enerator.Core/ManagementClient/ManagementClient.cs 80.00% <80.00%> (ø)
...Generator.Core/Common/ClassCodeGeneratorFactory.cs 100.00% <100.00%> (ø)
...tent.ModelGenerator.Core/Common/ClassDefinition.cs 100.00% <100.00%> (ø)
...ico.Kontent.ModelGenerator.Core/Common/Property.cs 100.00% <100.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a18ae5d...bec2582. Read the comment docs.