Include proc parama and their types in openapi
This commit is contained in:
@@ -16,9 +16,12 @@ data DbStructure = DbStructure {
|
||||
, dbProcs :: [(Text,ProcDescription)]
|
||||
} deriving (Show, Eq)
|
||||
|
||||
type PgArgName = Text
|
||||
type PgArgType = Text
|
||||
|
||||
data ProcDescription = ProcDescription {
|
||||
pdName :: Text
|
||||
, pdArgs :: Text
|
||||
, pdArgs :: [(PgArgName, PgArgType)]
|
||||
, pdReturnType :: Text
|
||||
} deriving (Show, Eq)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user