-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Milestone
Description
Unsure if bug or feature, but the generated method names (
| let methodNameCandidate = nicePascalName <| getMethodNameCandidate op |
nicePascalName. This causes a separation between what is in the JSON schema and the function name that is generated.
E.g. "operationId":"Application_GetLatestApplicationDetails" in the JSON schema gets turned into nicePascalName "Application_GetLatestApplicationDetails" which subsequently returns ApplicationGetLatestApplicationDetails which is less ideal.
nicePascalName "Application_GetLatestApplicationDetails" = nicePascalName "ApplicationGet_LatestApplicationDetails" returns true, even though they are separate controllers and separate functions.
I would expect that the operationId in the JSON directly maps to a function in the generated results of the TP.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels