File tree 2 files changed +38
-0
lines changed
openapi-processor-core/src/testInt
kotlin/io/openapiprocessor/core
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ class CompileExpectedSpec: StringSpec({
81
81
compilePaths.add(Path .of("src/testInt/resources/compile/oap/AnnotationB .java"))
82
82
compilePaths.add(Path .of("src/testInt/resources/compile/oap/AnnotationC .java"))
83
83
compilePaths.add(Path .of("src/testInt/resources/compile/oap/ParamAnnotation .java"))
84
+ compilePaths.add(Path .of("src/testInt/resources/compile/oap/Generated .java"))
84
85
compilePaths.add(Path .of("src/testInt/resources/compile/reactor/Mono .java"))
85
86
compilePaths.add(Path .of("src/testInt/resources/compile/reactor/Flux .java"))
86
87
compilePaths.add(Path .of("src/testInt/resources/compile/spring/ResponseEntity .java"))
Original file line number Diff line number Diff line change
1
+ package io .openapiprocessor .support ;
2
+
3
+ import java .lang .annotation .*;
4
+ import static java .lang .annotation .ElementType .*;
5
+ import static java .lang .annotation .RetentionPolicy .*;
6
+
7
+ @ Documented
8
+ @ Retention (CLASS )
9
+ @ Target ({TYPE , METHOD })
10
+ @ Generated (value = "openapi-processor-core" , version = "test" )
11
+ public @interface Generated {
12
+ /**
13
+ * The name of the source code generator, i.e. openapi-processor-*.
14
+ *
15
+ * @return name of the generator
16
+ */
17
+ String value ();
18
+
19
+ /**
20
+ * @return version of the generator
21
+ */
22
+ String version ();
23
+
24
+ /**
25
+ * The date & time of generation (ISO 8601) or "-" if no date was set.
26
+ *
27
+ * @return date of generation
28
+ */
29
+ String date () default "-" ;
30
+
31
+ /**
32
+ * The url of the generator.
33
+ *
34
+ * @return url of generator
35
+ */
36
+ String url () default "https://openapiprocessor.io" ;
37
+ }
You can’t perform that action at this time.
0 commit comments