Skip to content

Commit 12d17ef

Browse files
committed
corrected description
1 parent b5128aa commit 12d17ef

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/groovy/com/github/hauner/openapi/spring/converter/DataTypeConverter.groovy

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ class DataTypeConverter {
8181

8282
/**
8383
* converts an open api type (i.e. a {@code Schema}) to a java data type including nested types.
84-
* All (nested) $referenced types (except inline types) must be available from {@code dataTypes}.
85-
* {@code dataTypeInfo} provides the type name used to add it to the list of data types (except
86-
* for inline types).
84+
* Stores named objects in {@code dataTypes} for re-use. {@code dataTypeInfo} provides the type
85+
* name used to add it to the list of data types.
8786
*
8887
* @param dataTypeInfo the open api type with context information
8988
* @param dataTypes known object types

0 commit comments

Comments
 (0)