Open vsouz4 opened 6 months ago
the spec:
SomeObject: type: object required: - someList properties: someList: type: array items: $ref: '#/components/schemas/SomeNullableString' ... SomeNullableString: type: string nullable: true
generates code like:
/** * @return string|null[] */ public function getSomeList(): array { return $this->someList; }
the spec:
generates code like: