gogol-discovery 0.3.0 → 0.4.0
raw patch · 3 files changed
+8/−8 lines, 3 filesdep ~gogol-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: gogol-core
API changes (from Hackage documentation)
- Network.Google.Discovery: rdBatchPath :: Lens' RestDescription Text
+ Network.Google.Discovery: rdBatchPath :: Lens' RestDescription (Maybe Text)
- Network.Google.Discovery.Types: rdBatchPath :: Lens' RestDescription Text
+ Network.Google.Discovery.Types: rdBatchPath :: Lens' RestDescription (Maybe Text)
- Network.Google.Resource.Discovery.APIs.GetRest: type APIsGetRestResource = "discovery" :> ("v1" :> ("apis" :> (Capture "api" Text :> (Capture "version" Text :> ("rest" :> (QueryParam "alt" AltJSON :> Get '[JSON] RestDescription))))))
+ Network.Google.Resource.Discovery.APIs.GetRest: type APIsGetRestResource = "discovery" :> "v1" :> "apis" :> Capture "api" Text :> Capture "version" Text :> "rest" :> QueryParam "alt" AltJSON :> Get '[JSON] RestDescription
- Network.Google.Resource.Discovery.APIs.List: type APIsListResource = "discovery" :> ("v1" :> ("apis" :> (QueryParam "preferred" Bool :> (QueryParam "name" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DirectoryList)))))
+ Network.Google.Resource.Discovery.APIs.List: type APIsListResource = "discovery" :> "v1" :> "apis" :> QueryParam "preferred" Bool :> QueryParam "name" Text :> QueryParam "alt" AltJSON :> Get '[JSON] DirectoryList
Files
- gen/Network/Google/Discovery/Types/Product.hs +5/−5
- gen/Network/Google/Discovery/Types/Sum.hs +1/−1
- gogol-discovery.cabal +2/−2
gen/Network/Google/Discovery/Types/Product.hs view
@@ -959,7 +959,7 @@ , _rdOwnerName :: !(Maybe Text) , _rdResources :: !(Maybe RestDescriptionResources) , _rdOwnerDomain :: !(Maybe Text)- , _rdBatchPath :: !Text+ , _rdBatchPath :: !(Maybe Text) , _rdMethods :: !(Maybe RestDescriptionMethods) , _rdName :: !(Maybe Text) , _rdPackagePath :: !(Maybe Text)@@ -1058,7 +1058,7 @@ , _rdOwnerName = Nothing , _rdResources = Nothing , _rdOwnerDomain = Nothing- , _rdBatchPath = "batch"+ , _rdBatchPath = Nothing , _rdMethods = Nothing , _rdName = Nothing , _rdPackagePath = Nothing@@ -1145,7 +1145,7 @@ (\ s a -> s{_rdOwnerDomain = a}) -- | The path for REST batch requests.-rdBatchPath :: Lens' RestDescription Text+rdBatchPath :: Lens' RestDescription (Maybe Text) rdBatchPath = lens _rdBatchPath (\ s a -> s{_rdBatchPath = a}) @@ -1253,7 +1253,7 @@ <*> (o .:? "ownerName") <*> (o .:? "resources") <*> (o .:? "ownerDomain")- <*> (o .:? "batchPath" .!= "batch")+ <*> (o .:? "batchPath") <*> (o .:? "methods") <*> (o .:? "name") <*> (o .:? "packagePath")@@ -1288,7 +1288,7 @@ ("ownerName" .=) <$> _rdOwnerName, ("resources" .=) <$> _rdResources, ("ownerDomain" .=) <$> _rdOwnerDomain,- Just ("batchPath" .= _rdBatchPath),+ ("batchPath" .=) <$> _rdBatchPath, ("methods" .=) <$> _rdMethods, ("name" .=) <$> _rdName, ("packagePath" .=) <$> _rdPackagePath,
gen/Network/Google/Discovery/Types/Sum.hs view
@@ -16,4 +16,4 @@ -- module Network.Google.Discovery.Types.Sum where -import Network.Google.Prelude+import Network.Google.Prelude hiding (Bytes)
gogol-discovery.cabal view
@@ -1,5 +1,5 @@ name: gogol-discovery-version: 0.3.0+version: 0.4.0 synopsis: Google APIs Discovery Service SDK. homepage: https://github.com/brendanhay/gogol bug-reports: https://github.com/brendanhay/gogol/issues@@ -44,5 +44,5 @@ , Network.Google.Discovery.Types.Sum build-depends:- gogol-core == 0.3.0.*+ gogol-core == 0.4.0.* , base >= 4.7 && < 5