-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
I have a query param in my resource of type boolean, primitive. If the client does not specify it, it is set to false (since default of primitive boolean).
Can this please also be reflected in openapi?
@QueryParam("deleted")
public boolean deleted;
Instead of:
-
name: deleted
in: query
schema:
type: boolean
I want:
- in: query
schema:
type: boolean
default: false
Is this something you would add as default in this project, or should I annotate all my booleans with @DefaultValue("false")?
Metadata
Metadata
Assignees
Labels
No labels

