Skip to content

Commit fcc7244

Browse files
Move nullability interceptor to end
1 parent d858190 commit fcc7244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

smithy-docgen-core/src/main/java/software/amazon/smithy/docgen/core/integrations/BuiltinsIntegration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public List<? extends CodeInterceptor<? extends CodeSection, DocWriter>> interce
5151
DocGenerationContext context) {
5252
return List.of(
5353
new ErrorFaultInterceptor(),
54-
new NullabilityInterceptor(),
55-
new DefaultValueInterceptor()
54+
new DefaultValueInterceptor(),
55+
new NullabilityInterceptor() // This goes last so that its output is always first.
5656
);
5757
}
5858
}

0 commit comments

Comments
 (0)