-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Swagger renders endpoint parameter in path with a wrong type #18479
Comments
hi Please share a minimal project. Thanks. |
Hi, @maliming Here is the url to my project |
hi
|
Thanks @maliming ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Description
In my application, it has an endpoint just like the code below:
Here is the enum, an enum converter and where it is add to the JsonOptions:
And in this image, is where the Swagger is configured:
But the endpoint parameter on the path is configured as int32 instead of string. And even the select is filled with a value, it is considered as an invalid form.
I´ve tried to do it in complete new application without using abp and works perfectly.
It looks like that converters added to the JSON options has no effect.
Is something that I´m missing or this is a bug?
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
7.4.4
User Interface
Angular
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: