You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Encoding Object examples have invalid schema property #3170
addresses:
# default Content-Type for arrays is based on the `inner` type (object shown, so `application/json` in this example)type: arrayitems:
type: '#/components/schemas/Address'
I noticed 3.1.0 has a slightly different schema, albeit, valid. Lmk if you want that updated too.
addresses:
# default Content-Type for arrays is based on the _inner_ type (object shown, so `application/json` in this example)type: arrayitems:
type: object$ref: '#/components/schemas/Address'
cc @handrews let me know if this should be fixed too.
@jeremyfiel I suspect I put it in there just to emphasize that you can put things next to $ref now :-) I don't much care one way or the other, but I think that's why it's like that.
Activity
jeremyfiel commentedon Feb 24, 2023
I noticed 3.1.0 has a slightly different schema, albeit, valid. Lmk if you want that updated too.
cc @handrews let me know if this should be fixed too.
handrews commentedon Mar 1, 2023
@jeremyfiel I'm not sure what would need to be fixed in the 3.1 schema? I might be missing something.
jeremyfiel commentedon Mar 1, 2023
handrews commentedon Mar 2, 2023
@jeremyfiel I suspect I put it in there just to emphasize that you can put things next to
$refnow :-) I don't much care one way or the other, but I think that's why it's like that.jeremyfiel commentedon Mar 2, 2023
i'm impartial.
handrews commentedon Mar 5, 2023
Let's leave it as-is and just fix it for 3.0.4.
handrews commentedon Apr 24, 2023
This has been fixed in 3.0.4 and we decided not to change it in 3.1.1.