Commit c9b8bda 1 parent e105d48 commit c9b8bda Copy full SHA for c9b8bda
File tree 1 file changed +1
-18
lines changed
src/main/kotlin/com/cjbooms/fabrikt/generators/client
1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ class SpringHttpInterfaceGenerator(
55
55
}
56
56
57
57
val clientType = TypeSpec .interfaceBuilder(simpleClientName(resourceName))
58
- .addAnnotation(generatedAnnotationSpec())
59
58
.addAnnotation(AnnotationSpec .builder(Suppress ::class ).addMember(" %S" , " unused" ).build())
60
59
.addFunctions(funcSpecs)
61
60
.build()
@@ -253,21 +252,5 @@ class SpringHttpInterfaceGenerator(
253
252
}
254
253
}
255
254
256
- override fun generateLibrary (options : Set <ClientCodeGenOptionType >): Collection <GeneratedFile > = setOf (
257
- generatedAnnotationFile()
258
- )
259
-
260
- private fun generatedAnnotationFile (): SimpleFile {
261
- val destFile = srcPath.resolve(CodeGenerationUtils .packageToPath(packages.client))
262
- .resolve(" GeneratedClient.kt" )
263
- val annotationTypeSpec = TypeSpec .annotationBuilder(
264
- ClassName (packages.client, " GeneratedClient" )
265
- ).build()
266
- val fileSpec = FileSpec .builder(packages.client, " GeneratedClient" ).addType(annotationTypeSpec).build()
267
- return SimpleFile (destFile, fileSpec.toString())
268
- }
269
-
270
- private fun generatedAnnotationSpec (): AnnotationSpec = AnnotationSpec .builder(
271
- ClassName (packages.client, " GeneratedClient" )
272
- ).build()
255
+ override fun generateLibrary (options : Set <ClientCodeGenOptionType >): Collection <GeneratedFile > = setOf ()
273
256
}
You can’t perform that action at this time.
0 commit comments