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
It works if you specify the x-order in the referenced object, but in the above it needs to be context dependent. A change would need to be made to oapi-codegen but it looks to be blocked by this issue.
If this change is okay, I can work on the PR.
The text was updated successfully, but these errors were encountered:
I would like to extent
SchemaRef
to have aExtensions
orRefExtensions
to capture extensions next to $ref.For example, if I have:
I would like to capture the
x-order: 1
withinSchemaRef.Extensions["x-order"]
Looking at the code it looks like it's "if
$ref
only capture $ref"I don't think the openapi v3 spec official supports this but it would be very helpful.
My use-case is specifying the
x-order
, a new feature added to oapi-codegen. For example:It works if you specify the
x-order
in the referenced object, but in the above it needs to be context dependent. A change would need to be made to oapi-codegen but it looks to be blocked by this issue.If this change is okay, I can work on the PR.
The text was updated successfully, but these errors were encountered: