-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[haskell-http-client] add config options: cabalPackage, cabalVersion,…
… baseModule, requestType, configType (#7515) - add new config options: cabalPackage Set the cabal package name, which consists of one or more alphanumeric words separated by hyphens cabalVersion Set the cabal version number, consisting of a sequence of one or more integers separated by dots baseModule Set the base module namespace requestType Set the name of the type used to generate requests configType Set the name of the type used for configuration
- Loading branch information
1 parent
0de7f97
commit 9fba9c3
Showing
26 changed files
with
239 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
modules/swagger-codegen/src/main/resources/haskell-http-client/APIS.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{{>partial_header}} | ||
{-| | ||
Module : {{title}}.API | ||
Module : {{baseModule}}.API | ||
-} | ||
|
||
module {{title}}.API | ||
( {{#apiInfo}}{{#apis}}module {{title}}.API.{{classname}} | ||
module {{baseModule}}.API | ||
( {{#apiInfo}}{{#apis}}module {{baseModule}}.API.{{classname}} | ||
{{#hasMore}}, {{/hasMore}}{{/apis}}{{/apiInfo}}) where | ||
{{#apiInfo}}{{#apis}} | ||
import {{title}}.API.{{classname}}{{/apis}}{{/apiInfo}} | ||
import {{baseModule}}.API.{{classname}}{{/apis}}{{/apiInfo}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.