-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add missing WorkflowStatus to swagger.json
- Loading branch information
1 parent
7e5a3e5
commit 5fb51d8
Showing
7 changed files
with
367 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{-# LANGUAGE DeriveDataTypeable #-} | ||
module Argo.Model.Missing where | ||
import Data.Aeson as A | ||
import Data.Typeable (Typeable) | ||
|
||
data WorkflowStatus = WorkflowStatus | ||
deriving (Eq, Show, Typeable) | ||
|
||
instance A.ToJSON WorkflowStatus where | ||
toJSON WorkflowStatus = object [] | ||
|
||
instance A.FromJSON WorkflowStatus where | ||
parseJSON _ = pure WorkflowStatus |
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
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.