Logo
Explore Help
Register Sign In
kubernetes-client/haskell
1
0
Fork 0
You've already forked haskell
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
master
haskell/kubernetes-1.22/lib/Kubernetes/OpenAPI/ImportMappings.hs

7 lines
262 B
Haskell
Raw Permalink Normal View History

Add custom types IntOrString and Quantity - regen with import-mappings - add CustomTypes and CustomInstances - update openapi-generator commit Instead of A.Value, IntOrString becomes a sum type with constructors IntOrStringI and IntOrStringS Instead of Text, Quantity becomes a newtype over Text. Currently no custom construction or serialization is implemeneted (i.e. the Text should be the wire format) See CustomTypes.hs for details on the Quantity type.
2019-03-18 19:44:56 -05:00
{-# OPTIONS_GHC -fno-warn-dodgy-imports #-}
module Kubernetes.OpenAPI.ImportMappings (module ImportMappings) where
import Kubernetes.OpenAPI.CustomTypes as ImportMappings (Quantity(..))
append optional parameters instead of replace
2020-10-27 15:36:28 -05:00
import Kubernetes.OpenAPI.CustomTypes as ImportMappings (IntOrString(..))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 91ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API