File tree Expand file tree Collapse file tree 3 files changed +321
-135
lines changed
Source/Tools/ServiceGenerator Expand file tree Collapse file tree 3 files changed +321
-135
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ typedef enum {
3333+ (instancetype )generatorForApi : (GTLDiscoveryRpcDescription *)api
3434 verboseLevel : (NSUInteger )verboseLevel
3535 allowRootURLOverrides : (BOOL )allowRootURLOverrides
36- formattedNameOverride : (NSString *)formattedNameOverride ;
36+ formattedNameOverride : (NSString *)formattedNameOverride
37+ skipIfLikelyREST : (BOOL )skipIfLikelyREST ;
3738
3839// Keys are the file names; values are the contents of the files.
3940- (NSDictionary *)generateFilesWithHandler : (void (^)(FHGeneratorHandlerMessageType msgType,
@@ -42,4 +43,7 @@ typedef enum {
4243// The API name formatted for use as a directory name.
4344- (NSString *)formattedApiName ;
4445
46+ // If this is likely REST only (and hence can't be generated).
47+ - (BOOL )likelyRESTOnlyAPI ;
48+
4549@end
You can’t perform that action at this time.
0 commit comments