Intelity / helium

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

Extend Swagger options to exclude message fields #27

Closed roman-mazur closed 6 years ago

roman-mazur commented 6 years ago

This allows to configure what fields should not be exposed in Swagger spec.

codecov[bot] commented 6 years ago

Codecov Report

Merging #27 into master will increase coverage by 0.15%. The diff coverage is 78.64%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #27      +/-   ##
============================================
+ Coverage     70.83%   70.99%   +0.15%     
- Complexity     1323     1346      +23     
============================================
  Files           201      203       +2     
  Lines          5377     5430      +53     
  Branches        819      828       +9     
============================================
+ Hits           3809     3855      +46     
- Misses         1208     1214       +6     
- Partials        360      361       +1
Impacted Files Coverage Δ Complexity Δ
...elium/gradle/internal/SelectionRulesBuilder.groovy 0% <0%> (ø) 0 <0> (?)
...java/com/stanfy/helium/swagger/SwaggerOptions.java 100% <100%> (+8%) 8 <7> (-3) :arrow_down:
...main/groovy/com/stanfy/helium/model/Message.groovy 76.66% <100%> (+5.83%) 18 <3> (+3) :arrow_up:
...ler/codegen/json/schema/JsonSchemaGenerator.groovy 45% <14.28%> (ø) 2 <1> (ø) :arrow_down:
.../com/stanfy/helium/gradle/tasks/SwaggerTask.groovy 25% <33.33%> (+25%) 1 <1> (+1) :arrow_up:
...java/com/stanfy/helium/swagger/SwaggerHandler.java 82.46% <85.71%> (+0.11%) 34 <3> (+1) :arrow_up:
...m/handler/codegen/json/schema/SchemaBuilder.groovy 82.66% <86.66%> (+1.5%) 31 <3> (+2) :arrow_up:
...m/stanfy/helium/internal/utils/SelectionRules.java 93.75% <93.75%> (ø) 19 <19> (?)

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 aa8d8b3...b078f81. Read the comment docs.