This is a query parameter. The description is at the bottom after all the properties are defined.
To Reproduce
Parameter defined as
{
"name": "productId",
"in": "query",
"description": "Unique identifier for the product.",
"schema": {
"type": "object",
"properties": {
"eq": {
"type": "string",
"description": "Matches values that are equal to the specified value.",
"format": "string"
},
"ne": {
"type": "string",
"description": "Matches values that are not equal to the specified value.",
"format": "string"
},
"in": {
"type": "string",
"description": "Matches any of the values specified.",
"format": "comma-separated-values"
},
"nin": {
"type": "string",
"description": "Matches none of the values specified.",
"format": "comma-separated-values"
}
}
}
},
Expected behavior
The parameter description should come first and the properties and their descriptions should come later. We can also add some sense of hierarchy using indentation.
Describe the bug
This is a query parameter. The description is at the bottom after all the properties are defined.
To Reproduce
Parameter defined as
Expected behavior
The parameter description should come first and the properties and their descriptions should come later. We can also add some sense of hierarchy using indentation.
How often does this bug happen?
Every time
System Info
No response
Additional Context
No response