Skip to content

Commit b2fcd94

Browse files
committed
fix: fixed spec not caching
1 parent 9bd7a80 commit b2fcd94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ class Openapi {
9999

100100
/// The path where to store the cached copy of the specification.
101101
///
102-
/// For use with [useNextGen].
102+
/// If you have more than one spec file, you can use this to cache them separately otherwise they will all be cached
103+
/// in the exact same file which means only the last spec that was processed with end up being cached.
104+
///
105+
/// e.g .dart_tool/spec/specA.json
103106
final String? cachePath;
104107

105108
/// Use a custom pubspec when running the generator.

0 commit comments

Comments
 (0)