Skip to content

Commit 8392eba

Browse files
wip
1 parent b75aad6 commit 8392eba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/scala/za/co/absa/springdocopenapiscala/OpenAPIScalaCustomizer.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import scala.collection.JavaConverters._
2424
class OpenAPIScalaCustomizer(components: Components) extends OpenApiCustomizer {
2525

2626
override def customise(openAPIOutOfSync: OpenAPI): Unit = {
27-
// This is needed as for some reason springdoc-openapi cache the `OpenAPI` at the beginning
28-
// and newly added `Components` are not taken into account on JSON/YAML generation.
27+
// this is needed as for some reason springdoc-openapi cache the `OpenAPI` at the beginning
28+
// and newly added `Components` are not taken into account on JSON/YAML generation
2929
openAPIOutOfSync.setComponents(components)
3030

3131
fixResponsesReturningUnit(openAPIOutOfSync)

0 commit comments

Comments
 (0)