Skip to content

Cleanup#275

Open
miniBill wants to merge 3 commits intomainfrom
cleanup
Open

Cleanup#275
miniBill wants to merge 3 commits intomainfrom
cleanup

Conversation

@miniBill
Copy link
Collaborator

I've sorted specs in the example generation so that having more branches in the future will cause less conflicts. I'm actually considering removing the let variables and just having them inline, maybe with a helper String -> Input in the local scope

@github-actions

This comment was marked as outdated.

@github-actions
Copy link

diff --ignore-all-space --minimal --new-file --recursive main/cli/generated/NullableEnum/Api.elm branch/cli/generated/NullableEnum/Api.elm
0a1,55
> module NullableEnum.Api exposing (root, rootTask)
> 
> {-|
> 
> 
> ## Operations
> 
> @docs root, rootTask
> 
> -}
> 
> import Dict
> import Http
> import Json.Decode
> import NullableEnum.Json
> import NullableEnum.Types
> import OpenApi.Common
> import Task
> 
> 
> {-| Does stuff
> -}
> root config =
>     Http.request
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , expect =
>             OpenApi.Common.expectJsonCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>                 config.toMsg
>         , body = Http.emptyBody
>         , timeout = Nothing
>         , tracker = Nothing
>         }
> 
> 
> {-| Does stuff
> -}
> rootTask :
>     {}
>     -> Task.Task (OpenApi.Common.Error e String) NullableEnum.Types.NullableEnum
> rootTask config =
>     Http.task
>         { url = "/"
>         , method = "GET"
>         , headers = []
>         , resolver =
>             OpenApi.Common.jsonResolverCustom
>                 (Dict.fromList [])
>                 NullableEnum.Json.decodeNullableEnum
>         , body = Http.emptyBody
>         , timeout = Nothing
>         }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant