cebe / yii2-openapi

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
MIT License
130 stars 23 forks source link

nullable false should put attribute in required section in model validation rules #153

Closed SOHELAHMED7 closed 1 year ago

SOHELAHMED7 commented 1 year ago
        billing_factor:
          description: integer between 0 and 100, default value 100
          type: integer
          default: 100
          nullable: false
          x-faker: '$faker->numberBetween(0, 100)'

in model validation rules, it should be required