Skip to content

Commit ae29d74

Browse files
committed
Add missing @deprecated annotations
1 parent 642e1cd commit ae29d74

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,7 @@ public String toAnyOfName(List<String> names, Schema composedSchema) {
14081408
*
14091409
* @deprecated Avoid using this - use a different mechanism instead.
14101410
*/
1411+
@Deprecated
14111412
private static String stripNullable(String type) {
14121413
if (type.startsWith("swagger::Nullable<") && type.endsWith(">")) {
14131414
return type.substring("swagger::Nullable<".length(), type.length() - 1);

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,7 @@ public String toAnyOfName(List<String> names, Schema composedSchema) {
14081408
*
14091409
* @deprecated Avoid using this - use a different mechanism instead.
14101410
*/
1411+
@Deprecated
14111412
private static String stripNullable(String type) {
14121413
if (type.startsWith("swagger::Nullable<") && type.endsWith(">")) {
14131414
return type.substring("swagger::Nullable<".length(), type.length() - 1);

0 commit comments

Comments
 (0)