Case insensitive paths? #537
-
Can I tell Counterfact to be case-insensitive for the paths? Our OpenApi doc might have |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think I can change |
Beta Was this translation helpful? Give feedback.
-
Sounds good. In the general case, I think it's better for Counterfact to be forgiving. The generated code should preserve case but mapping a URL to a file should be case-insensitive. If someone is working with a case-sensitive server they may want Counterfact to behave the same (to prevent erroneous client code that works in Counterfact but not the real thing). But we can make that a setting later. The default should be forgiving. |
Beta Was this translation helpful? Give feedback.
-
This will be in the next release. #544 |
Beta Was this translation helpful? Give feedback.
This will be in the next release. #544