-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
Hello Team,
I have a use-case requiring me to overload the current RefString\RefPath functions,
In my use case the ref may contain non-ascii chars and my overload hashes Ref field.
up to v0.125.0 my use-case was possible since InternalizeRefs signature was:
kin-openapi/openapi3/internalize_refs.go
Line 394 in 43846d5
| func (doc *T) InternalizeRefs(ctx context.Context, refNameResolver func(ref string) string) { |
which allowed overloading
refNameResolver function,
Current implementation:
kin-openapi/openapi3/internalize_refs.go
Line 493 in 1a2712f
| func (doc *T) InternalizeRefs(ctx context.Context, refNameResolver func(*T, componentRef) string) { |
uses the componentRef which isn't exported, as a result my use-case isn't really possible (apart of doing major reimplementation),
Is there am option to export this interface thus allowing me to achieve previously possible behavior?
Metadata
Metadata
Assignees
Labels
No labels