Function
initExclusiveMinimumValidation
(def any, exclMin *float64)
Source from the content-addressed store, hash-verified
| 723 | } |
| 724 | |
| 725 | func initExclusiveMinimumValidation(def any, exclMin *float64) { |
| 726 | switch actual := def.(type) { |
| 727 | case *Parameter: |
| 728 | actual.Minimum = exclMin |
| 729 | actual.ExclusiveMinimum = true |
| 730 | case *Header: |
| 731 | actual.Minimum = exclMin |
| 732 | actual.ExclusiveMinimum = true |
| 733 | case *Items: |
| 734 | actual.Minimum = exclMin |
| 735 | actual.ExclusiveMinimum = true |
| 736 | } |
| 737 | } |
| 738 | |
| 739 | func initMinimumValidation(def any, minimum *float64) { |
| 740 | switch actual := def.(type) { |
Tested by
no test coverage detected