Skip to content

Commit c55cc0d

Browse files
committed
added interface for composed schema handler implementation
1 parent b7b0641 commit c55cc0d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package io.swagger.codegen.v3;
2+
3+
import io.swagger.v3.oas.models.media.Schema;
4+
5+
public interface ISchemaHandler {
6+
7+
/**
8+
* check if there is any composed schema in models or properties. And create codegen model objects if it's required.
9+
* @param codegenModel
10+
* @param schema
11+
*/
12+
void proccessComposedSchemas(CodegenModel codegenModel, Schema schema);
13+
}

0 commit comments

Comments
 (0)