How to share same interface between different namespaces? #7178
Unanswered
artsiommiksiuk
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm have an interface Self.
I have public and private APIs. I want to generate two openapi documents respectively (public and private). All examples showing interface defined directly in namespace.
I thought about aliasing them into namespaces, but it didn't work, namespaces left empty.
There's is operator for models and separate operations, but there's no for interfaces.
So, more generalized, if I have an interface A defined outside the namespace, how to bring A into namespace N1 and N2?
Beta Was this translation helpful? Give feedback.
All reactions