-
-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAPI : Short FlexNamer doesn't respect schemas name #833
Comments
rxdiscovery
changed the title
OAPI : serialization of generics does not apply to name changes
OAPI : serialization of generics does not take into account name changes
Jul 15, 2024
@rxdiscovery You can close this issue, or change it to |
rxdiscovery
changed the title
OAPI : serialization of generics does not take into account name changes
OAPI : Short FlexNamer doesn't respect schemas name
Jul 25, 2024
@TheAwiteb thanks for the temporary solution, I'll try it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Describe the bug :
I've noticed that when using structures with generics, serialization (ToSchema) doesn't take name changes into account with
#[salvo(schema(name = XXX))]
Here is a complete code that shows the problem :
We have this result:
(for primitive types [String, u32,u64,f32,u64,bool,&str,etc..], it would be nice to display only their names without the path)
Expected result:
**Salvo version : **
Thanks in advance 🥇
The text was updated successfully, but these errors were encountered: