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
if I use type converters in a route definition ('/somepath/{parameter:int}') and generate an openAPI schema then I'd expect that the type, the converter is stripped from the URL template. But currently i get
"paths": {
"//somepath/{parameter:int}": {}
}
instead of
"paths": {
"//somepath/{parameter}": {}
}
Is that by purpose?
If so the parameter names inside the doc string don't match anymore if parsed e.g. inside postman. Postman would create a parameter named "parameter:int" instead of just "parameter".
Thank you
Jan
The text was updated successfully, but these errors were encountered:
Discussed in #1645
Originally posted by jvail May 23, 2022
Hi,
if I use type converters in a route definition ('/somepath/{parameter:int}') and generate an openAPI schema then I'd expect that the type, the converter is stripped from the URL template. But currently i get
instead of
Is that by purpose?
If so the parameter names inside the doc string don't match anymore if parsed e.g. inside postman. Postman would create a parameter named "parameter:int" instead of just "parameter".
Thank you
Jan
The text was updated successfully, but these errors were encountered: