Describe the bug
For some reason, all of my fields are set as nullable, using strict-nullable dosen't change anything. This migh well be my error, but after spending much time trying endless combinations of settings, I resorted to opening a bug report.
To Reproduce
Example schema:
openapi: 3.0.0
components:
schemas:
ParentCompany:
description: A parent company record
type: object
properties:
id:
type: integer
nullable: true
name:
type: string
Describe the bug For some reason, all of my fields are set as nullable, using
strict-nullable
dosen't change anything. This migh well be my error, but after spending much time trying endless combinations of settings, I resorted to opening a bug report. To ReproduceExample schema:
Used commandline:
pyprohect.toml
:Expected output
Actual output
Version: