Intelity / helium

DSL for REST API specification, verification, and code generation.
Apache License 2.0
4 stars 0 forks source link

Generate multiply api managers #19

Closed epankratov closed 6 years ago

epankratov commented 7 years ago

Introduce new command line options to the Helium in order to add ability to change the naming of output generated Swift-classes. This allows to have few simultaneous API managers with the same core files and few files with entities. All corresponding changes to Fastlane has been made correspondingly.

codecov[bot] commented 7 years ago

Codecov Report

Merging #19 into master will decrease coverage by 1.06%. The diff coverage is 16.89%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #19      +/-   ##
============================================
- Coverage     70.28%   69.21%   -1.07%     
- Complexity     1295     1297       +2     
============================================
  Files           199      199              
  Lines          5209     5302      +93     
  Branches        784      812      +28     
============================================
+ Hits           3661     3670       +9     
- Misses         1206     1283      +77     
- Partials        342      349       +7
Impacted Files Coverage Δ Complexity Δ
...andler/codegen/swift/entity/SwiftDefaultHandler.kt 55.55% <0%> (ø) 3 <2> (ø) :arrow_down:
...main/groovy/com/stanfy/helium/model/Message.groovy 70.83% <0%> (-18.65%) 15 <0> (ø)
...gen/swift/entity/client/SwiftAPIClientGenerator.kt 5.6% <1.02%> (-8.03%) 0 <0> (ø)
...codegen/swift/entity/registry/SwiftTypeRegistry.kt 83.33% <100%> (ø) 0 <0> (?)
.../swift/entity/filegenerator/SwiftFilesGenerator.kt 67.74% <33.33%> (-7.73%) 0 <0> (ø)
...en/swift/entity/entities/SwiftEntitiesGenerator.kt 79.31% <50%> (-6.9%) 0 <0> (ø)
...ty/filegenerator/SwiftMutableFilesGeneratorImpl.kt 85.71% <50%> (-14.29%) 3 <0> (ø)
...generator/SwiftRandomEntitiesFilesGeneratorImpl.kt 90.47% <50%> (-9.53%) 3 <0> (ø)
.../filegenerator/SwiftEquatableFilesGeneratorImpl.kt 90% <50%> (-10%) 3 <0> (ø)
...ndler/codegen/swift/entity/SwitAPIClientHandler.kt 50% <50%> (ø) 0 <0> (ø) :arrow_down:
... and 1 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 81ce21b...e597a17. Read the comment docs.