Skip to content

Commit 4da6aef

Browse files
committed
cleanup javadoc
1 parent 4b65ccf commit 4da6aef

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppRestSdkClientCodegen.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -387,14 +387,6 @@ private Schema resolveSchema(Schema schema) {
387387
return schema;
388388
}
389389

390-
/**
391-
* Optional - type declaration. This is a String which is used by the
392-
* templates to instantiate your types. There is typically special handling
393-
* for different property types
394-
*
395-
* @return a string value used as the `dataType` field for model templates,
396-
* `returnType` for api templates
397-
*/
398390
/**
399391
* Check if a schema is a pure map (has additionalProperties but no defined properties).
400392
* Schemas with both properties and additionalProperties should be treated as models, not maps.
@@ -407,6 +399,14 @@ private boolean isPureMapSchema(Schema schema) {
407399
return schema.getProperties() == null || schema.getProperties().isEmpty();
408400
}
409401

402+
/**
403+
* Optional - type declaration. This is a String which is used by the
404+
* templates to instantiate your types. There is typically special handling
405+
* for different property types
406+
*
407+
* @return a string value used as the `dataType` field for model templates,
408+
* `returnType` for api templates
409+
*/
410410
@Override
411411
public String getTypeDeclaration(Schema p) {
412412
// Resolve the schema to check for nested maps/arrays - refs that point to map schemas

0 commit comments

Comments
 (0)