Closed jhordies closed 1 year ago
hi @jhordies, we have the "checkbox" to select which property is "required" or not. please help to double check it is what you are looking for ?
Hello, thanks for your reply. I didn't understand what it meant, so checked means required?
On Sun, 19 Feb 2023, 21:24 APIGIT, @.***> wrote:
hi @jhordies https://github.com/jhordies, we have the "checkbox" to select which property is "required" or not. please help to double check it is what you are looking for ?
— Reply to this email directly, view it on GitHub https://github.com/apigitlabs/apigit-support/issues/11#issuecomment-1436084691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB46GWLR337I7OYQ6663FZTWYJ6OLANCNFSM6AAAAAAU3O6KAQ . You are receiving this because you were mentioned.Message ID: @.***>
Yes, checked it means it is required. You can see the changes in diff view view after you checked.
We will add some tooltips to improve the user experience.
Thanks, apigit
On Sun, Feb 19, 2023 at 12:30 PM Jérôme Hordies @.***> wrote:
Hello, thanks for your reply. I didn't understand what it meant, so checked means required?
On Sun, 19 Feb 2023, 21:24 APIGIT, @.***> wrote:
hi @jhordies https://github.com/jhordies, we have the "checkbox" to select which property is "required" or not. please help to double check it is what you are looking for ?
— Reply to this email directly, view it on GitHub < https://github.com/apigitlabs/apigit-support/issues/11#issuecomment-1436084691 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB46GWLR337I7OYQ6663FZTWYJ6OLANCNFSM6AAAAAAU3O6KAQ
. You are receiving this because you were mentioned.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/apigitlabs/apigit-support/issues/11#issuecomment-1436085886, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BYMMHUTMRMTI7J72Z7WSLWYJ7G7ANCNFSM6AAAAAAU3O6KAQ . You are receiving this because you commented.Message ID: @.***>
Actually, this checkbox is only there for URL parameters not for schema payload
hi @jhordies , it is also supported in schema. attached is the screenshots of an schema object definition. there is a checkbox there .
Thanks, you can close the issue.
Is there an existing request for this feature?
Is your feature request related to a problem?
There is currently no way in the form editor to specify if a property is mandatory or optional.
Describe the solution you'd like
I would like to be able to set for each property if it is required or optional
Describe alternatives you've considered
Manually edit the code
Additional context
Required Properties By default, all object properties are optional. You can specify the required properties in the required list: type: object properties: id: type: integer username: type: string name: type: string required: