File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/swagger-codegen/src/test/java/io/swagger/codegen Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,13 @@ public void resolveInlineBodyParameter() throws Exception {
118
118
119
119
Operation operation = swagger .getPaths ().get ("/hello" ).getGet ();
120
120
BodyParameter bp = (BodyParameter )operation .getParameters ().get (0 );
121
- assertTrue (bp .getSchema () instanceof ModelImpl );
121
+ assertTrue (bp .getSchema () instanceof RefModel );
122
122
123
- Model body = swagger .getDefinitions ().get ("hello_address " );
123
+ Model body = swagger .getDefinitions ().get ("body " );
124
124
assertTrue (body instanceof ModelImpl );
125
125
126
126
ModelImpl impl = (ModelImpl ) body ;
127
- assertNotNull (impl .getProperties ().get ("street " ));
127
+ assertNotNull (impl .getProperties ().get ("address " ));
128
128
}
129
129
130
130
@ Test
You can’t perform that action at this time.
0 commit comments