-
-
Notifications
You must be signed in to change notification settings - Fork 359
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedContributions from the community are encouragedContributions from the community are encouragedquestion
Description
Scribe version
4.19.1
Your question
First, thank you for maintaining scribe.
The generated openapi.yml is not usable in swagger or spotlight if there's a property with null value.
Those properties are reported as errors.

OpenAPI v3 allow to use null value by adding the property "nullable".
As suggested bellow:
type: string
nullable: true
If we use nullable property, the error is resolved.
It would be very useful if we can set properties as nullable in the specification of parameters with Scribe.
https://scribe.knuckles.wtf/laravel/documenting/query-body-parameters
Thank you.
Docs
- I've checked the docs, the troubleshooting guide, and existing issues, but I didn't find a solution
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedContributions from the community are encouragedContributions from the community are encouragedquestion