@@ -637,7 +637,7 @@ public void resolveInlineRequestBody() throws Exception {
637
637
RequestBody body = getOperation .getRequestBody ();
638
638
assertTrue (body .getContent ().get ("*/*" ).getSchema ().get$ref () != null );
639
639
640
- Schema bodySchema = openAPI .getComponents ().getSchemas ().get ("helloBody " );
640
+ Schema bodySchema = openAPI .getComponents ().getSchemas ().get ("hello_body " );
641
641
assertTrue (bodySchema instanceof Schema );
642
642
643
643
assertNotNull (bodySchema .getProperties ().get ("address" ));
@@ -676,7 +676,7 @@ public void resolveInlineRequestBody_maxTwoPathParts() throws Exception {
676
676
RequestBody body = getOperation .getRequestBody ();
677
677
assertTrue (body .getContent ().get ("*/*" ).getSchema ().get$ref () != null );
678
678
679
- Schema bodySchema = openAPI .getComponents ().getSchemas ().get ("greethelloBody " );
679
+ Schema bodySchema = openAPI .getComponents ().getSchemas ().get ("greet_hello_body " );
680
680
assertTrue (bodySchema instanceof Schema );
681
681
682
682
assertNotNull (bodySchema .getProperties ().get ("address" ));
@@ -805,9 +805,9 @@ public void resolveInlineArrayRequestBody() throws Exception {
805
805
Schema inner = am .getItems ();
806
806
assertTrue (inner .get$ref () != null );
807
807
808
- assertEquals ( "#/components/schemas/helloBody " ,inner .get$ref ());
808
+ assertEquals ( "#/components/schemas/hello_body " ,inner .get$ref ());
809
809
810
- Schema inline = openAPI .getComponents ().getSchemas ().get ("helloBody " );
810
+ Schema inline = openAPI .getComponents ().getSchemas ().get ("hello_body " );
811
811
assertNotNull (inline );
812
812
assertTrue (inline instanceof Schema );
813
813
@@ -1091,7 +1091,7 @@ public void testArbitraryObjectRequestBodyInline() {
1091
1091
RequestBody requestBody = operation .getRequestBody ();
1092
1092
assertTrue (requestBody .getContent ().get ("*/*" ).getSchema ().get$ref () != null );
1093
1093
1094
- Schema body = swagger .getComponents ().getSchemas ().get ("helloBody " );
1094
+ Schema body = swagger .getComponents ().getSchemas ().get ("hello_body " );
1095
1095
assertTrue (body instanceof Schema );
1096
1096
1097
1097
@@ -1153,9 +1153,9 @@ public void testArbitraryObjectBodyParamArrayInline() {
1153
1153
assertTrue (inner .get$ref () != null );
1154
1154
1155
1155
1156
- assertEquals (inner .get$ref (), "#/components/schemas/helloBody " );
1156
+ assertEquals (inner .get$ref (), "#/components/schemas/hello_body " );
1157
1157
1158
- Schema inline = openAPI .getComponents ().getSchemas ().get ("helloBody " );
1158
+ Schema inline = openAPI .getComponents ().getSchemas ().get ("hello_body " );
1159
1159
assertNotNull (inline );
1160
1160
1161
1161
Schema p = (Schema )inline .getProperties ().get ("arbitrary" );
0 commit comments