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 #113

Closed Sevitas closed 3 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 #113 (4f70d65) into master (a8f1852) will decrease coverage by 1.08%. The diff coverage is 79.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
- Coverage   81.32%   80.24%   -1.09%     
==========================================
  Files          13       16       +3     
  Lines         632      734     +102     
  Branches       55       70      +15     
==========================================
+ Hits          514      589      +75     
- Misses        101      123      +22     
- Partials       17       22       +5     
Impacted Files Coverage Δ
...ico.Kontent.ModelGenerator/ValidationExtensions.cs 23.80% <15.38%> (-13.70%) :arrow_down:
...nt.ModelGenerator.Core/ContentTypeJObjectHelper.cs 75.00% <75.00%> (ø)
...ntico.Kontent.ModelGenerator.Core/CodeGenerator.cs 51.89% <77.77%> (+1.21%) :arrow_up:
...co.Kontent.ModelGenerator.Core/ManagementClient.cs 85.18% <85.18%> (ø)
....Kontent.ModelGenerator.Core/ClassCodeGenerator.cs 99.23% <100.00%> (+0.05%) :arrow_up:
...nerator.Core/Configuration/CodeGeneratorOptions.cs 93.33% <100.00%> (+0.47%) :arrow_up:
....Kontent.ModelGenerator.Core/InvalidIdException.cs 100.00% <100.00%> (ø)
...rc/Kentico.Kontent.ModelGenerator.Core/Property.cs 100.00% <100.00%> (ø)
src/Kentico.Kontent.ModelGenerator/Program.cs 82.60% <100.00%> (+1.21%) :arrow_up:
... and 2 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 a8f1852...4f70d65. Read the comment docs.