add test showcasing ref property siblings being lost in OpenAPI 3.1 #20303
3307 passed, 1 failed and 4 skipped
✅ modules/openapi-generator-core/target/surefire-reports/TEST-TestSuite.xml
17 tests were completed in 945ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
TestSuite | 17✅ | 945ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.AllGeneratorsTest.xml
790 tests were completed in 12s with 790 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.AllGeneratorsTest | 790✅ | 12s |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.android.AndroidClientCodegenTest.xml
5 tests were completed in 4ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.android.AndroidClientCodegenTest | 5✅ | 4ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.ArchUnitRulesTest.xml
4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.ArchUnitRulesTest | 4✅ | 4s |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.asciidoc.AsciidocGeneratorTest.xml
5 tests were completed in 28ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.asciidoc.AsciidocGeneratorTest | 5✅ | 28ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.asciidoc.AsciidocSampleGeneratorTest.xml
7 tests were completed in 53ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.asciidoc.AsciidocSampleGeneratorTest | 7✅ | 53ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.asciidoc.IncludeMarkupFilterTest.xml
3 tests were completed in 5ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.asciidoc.IncludeMarkupFilterTest | 3✅ | 5ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.asciidoc.LinkMarkupFilterTest.xml
2 tests were completed in 2ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.asciidoc.LinkMarkupFilterTest | 2✅ | 2ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.bash.BashClientOptionsTest.xml
2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.bash.BashClientOptionsTest | 2✅ | 9ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.bash.BashTest.xml
5 tests were completed in 71ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.bash.BashTest | 5✅ | 71ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.config.CodegenConfiguratorTest.xml
1 tests were completed in 13ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.config.CodegenConfiguratorTest | 1✅ | 13ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.config.DynamicSettingsTest.xml
4 tests were completed in 61ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.config.DynamicSettingsTest | 4✅ | 61ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.config.MergedSpecBuilderTest.xml
2 tests were completed in 215ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.config.MergedSpecBuilderTest | 2✅ | 215ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.confluencewiki.ConfluenceWikiTest.xml
5 tests were completed in 36ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.confluencewiki.ConfluenceWikiTest | 5✅ | 36ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.cpppistache.ObjectAnyTypeSetTest.xml
1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.cpppistache.ObjectAnyTypeSetTest | 1✅ | 4s |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.cpprestbed.CppRestbedServerTest.xml
3 tests were completed in 6ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.cpprestbed.CppRestbedServerTest | 3✅ | 6ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.cpptiny.CppTinyBaseTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.cpptiny.CppTinyBaseTest | 1✅ | 0ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.cpptiny.CppTinyClientModelTest.xml
1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.cpptiny.CppTinyClientModelTest | 1✅ | 0ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.cpptiny.CppTinyServiceServiceTest.xml
2 tests were completed in 2ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.cpptiny.CppTinyServiceServiceTest | 2✅ | 2ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.crystal.CrystalClientCodegenTest.xml
6 tests were completed in 132ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.crystal.CrystalClientCodegenTest | 6✅ | 132ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcore.CSharpClientCodegenTest.xml
4 tests were completed in 157ms with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcore.CSharpClientCodegenTest | 4✅ | 157ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcore.CSharpClientDeepObjectTest.xml
1 tests were completed in 447ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcore.CSharpClientDeepObjectTest | 1✅ | 447ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcore.CSharpModelEnumTest.xml
38 tests were completed in 182ms with 38 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcore.CSharpModelEnumTest | 38✅ | 182ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcore.CSharpModelTest.xml
16 tests were completed in 112ms with 16 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcore.CSharpModelTest | 16✅ | 112ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcore.CSharpOperationTest.xml
1 tests were completed in 234ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcore.CSharpOperationTest | 1✅ | 234ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.csharpnetcorefunctions.CSharpFunctionsServerCodegenTest.xml
1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.csharpnetcorefunctions.CSharpFunctionsServerCodegenTest | 1✅ | 2ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.DartClientCodegenTest.xml
5 tests were completed in 6ms with 5 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.DartClientCodegenTest | 5✅ | 6ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.DartClientOptionsTest.xml
2 tests were completed in 7ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.DartClientOptionsTest | 2✅ | 7ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.DartModelTest.xml
74 tests were completed in 91ms with 74 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.DartModelTest | 74✅ | 91ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.dio.DartDioClientCodegenTest.xml
6 tests were completed in 133ms with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.dio.DartDioClientCodegenTest | 6✅ | 133ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.dio.DartDioClientOptionsTest.xml
2 tests were completed in 15ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.dio.DartDioClientOptionsTest | 2✅ | 15ms |
✅ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.dart.dio.DartDioModelTest.xml
17 tests were completed in 33ms with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.dart.dio.DartDioModelTest | 17✅ | 33ms |
❌ modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.DefaultCodegenTest.xml
152 tests were completed in 3ms with 151 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.openapitools.codegen.DefaultCodegenTest | 151✅ | 1❌ | 3ms |
❌ org.openapitools.codegen.DefaultCodegenTest
✅ arrayInnerReferencedSchemaMarkedAsModel_20
✅ arrayInnerReferencedSchemaMarkedAsModel_30
✅ arrayModelHasValidation
✅ commonLambdasRegistrationTest
✅ convertApiNameWithEmptySuffix
✅ convertApiNameWithSuffix
✅ importMapping
✅ inlineAllOfSchemaDoesNotThrowException
✅ integerSchemaPropertyAndModelTest
✅ longSchemaPropertyAndModelTest
✅ mapParamImportInnerObject
✅ modelDoNotContainInheritedVars
✅ modelWithPrefixDoNotContainInheritedVars
✅ modelWithSuffixDoNotContainInheritedVars
✅ numberDoubleSchemaPropertyAndModelTest
✅ numberFloatSchemaPropertyAndModelTest
✅ numberSchemaPropertyAndModelTest
✅ objectQueryParamIdentifyAsObject
✅ postProcessModelsEnumWithExtension
✅ postProcessModelsEnumWithPrefixRemoved
✅ postProcessModelsEnumWithoutPrefixRemoved
✅ schemaMapping
✅ testAddOption
✅ testAddOptionDefaultNull
✅ testAddOptionEnumValuesNull
✅ testAdditionalPropertiesAnyType
✅ testAdditionalPropertiesPresentInModelProperties
✅ testAdditionalPropertiesPresentInModels
✅ testAdditionalPropertiesPresentInParameters
✅ testAdditionalPropertiesPresentInResponses
✅ testAdditionalPropertiesPutForConfigValues
✅ testAdditionalPropertiesV2SpecDisallowAdditionalPropertiesIfNotPresentFalse
✅ testAdditionalPropertiesV2SpecDisallowAdditionalPropertiesIfNotPresentTrue
✅ testAdditionalPropertiesV3SpecDisallowAdditionalPropertiesIfNotPresentFalse
✅ testAdditionalPropertiesV3SpecDisallowAdditionalPropertiesIfNotPresentTrue
✅ testAlias
✅ testAllOfDefaultEnumType
✅ testAllOfParent
✅ testAllOfRequired
✅ testAllOfSingleAndDoubleRefWithOwnPropsNoDiscriminator
✅ testAllOfSingleRefNoOwnProps
✅ testAllParents
✅ testAllVars_issue_18340
✅ testAnySchemaWithIneffectiveConstraints
✅ testArraySchemaIsNotIncludedInAliases
✅ testArraySchemaWithIneffectiveConstraints
✅ testAssigning310SpecWorks
✅ testBodyAndResponseGetHasValidation
✅ testBooleanSchemaWithIneffectiveConstraints
✅ testBooleansSetForIntSchemas
✅ testByteArrayTypeInSchemas
✅ testCallbacks
✅ testCircularReferencesDetection
✅ testComposedModelTypes
✅ testComposedRequestBodyTypes
✅ testComposedRequestQueryParamTypes
✅ testComposedResponseTypes
✅ testComposedSchemaAllOfDiscriminatorMap
✅ testComposedSchemaAllOfDiscriminatorMapLegacy
✅ testComposedSchemaAllOfHierarchy
✅ testComposedSchemaAnyOfDiscriminatorMap
✅ testComposedSchemaAnyOfDiscriminatorsInvalid
✅ testComposedSchemaMyPetsOneOfDiscriminatorMap
✅ testComposedSchemaOneOfDiscriminatorMap
✅ testComposedSchemaOneOfDiscriminatorMapPreAndPostFix
✅ testComposedSchemaOneOfDiscriminatorsInvalid
✅ testComposedSchemaOneOfWithProperties
✅ testConsistentParameterNameAfterUniquenessRename
✅ testCookieParametersGetHasValidation
✅ testDateTimeFormParameterHasDefaultValue
✅ testDeeplyNestedAdditionalPropertiesImports
✅ testDefaultResponseShouldBeLast
✅ testDeprecatedModel
✅ testDeprecatedProperty
✅ testDeprecatedRef
✅ testDiscriminator
✅ testDiscriminatorWithCustomMapping
✅ testEnsureNoDuplicateProduces
✅ testEnumImports
✅ testEscapeText
✅ testEscapeTextWhileAllowingNewLines
✅ testExample1
✅ testExample2
✅ testExample3
✅ testExample4
✅ testExample5MultipleResponses
✅ testExecutePostProcessor
✅ testFormComposedSchema
✅ testFormParameterHasDefaultValue
✅ testFreeFormSchemas
✅ testFromPropertyRequiredAndOptional
✅ testGetConsumesInfoAndGetProducesInfo
✅ testGetProducesInfo
✅ testGetSchemaTypeWithComposedSchemaWithOneOf
✅ testHasBodyParameter
✅ testHasRequiredInModel
✅ testHasRequiredInParameters
✅ testHasRequiredInProperties
✅ testHasRequiredInResponses
✅ testHasVarsInModel
✅ testHasVarsInParameter
✅ testHasVarsInProperty
✅ testHasVarsInResponse
✅ testHeaderParametersGetHasValidation
✅ testInitialConfigValues
✅ testInlineEnumType
✅ testIntegerSchemaWithIneffectiveConstraints
✅ testIsXML
✅ testIsXPresence
✅ testItemsPresent
✅ testLeadingSlashIsAddedIfMissing
✅ testModelGetHasValidation
✅ testMultipleRequestParameter_hasSingleParamFalse
✅ testMultipleSecuritySchemes
✅ testNullSchemaWithIneffectiveConstraints
✅ testNullableProperty
✅ testOauthMultipleFlows
✅ testObjectSchemaWithIneffectiveConstraints
✅ testOneOfEnum
✅ testOneOfMergeProperties
✅ testOpenIdConnectSecuritySchemes
✅ testOptionalResponseImports
✅ testOriginalOpenApiDocumentVersion
✅ testParameterEmptyDescription
✅ testParentName
✅ testPathParametersGetHasValidation
✅ testPropertyGetHasValidation
✅ testQueryParametersGetHasValidation
✅ testReferencedEnumType
✅ testRemoveOperationIdPrefix
✅ testRequestBodyContent
✅ testRequestInlineSingleExample
✅ testRequestParameterContent
✅ testResponseContentAndHeader
✅ testResponseWithNoSchemaInHeaders
✅ testResponses
✅ testSettersForConfigValues
❌ testSiblingPropertyWithRefInOAS31
java.lang.AssertionError: expected [null] but found [Ref-Property-Title]
✅ testSingleRequestParameter_hasSingleParamTrue
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
github-actions / JUnit Test results
org.openapitools.codegen.DefaultCodegenTest ► testSiblingPropertyWithRefInOAS31
Failed test found in:
modules/openapi-generator/target/surefire-reports/TEST-org.openapitools.codegen.DefaultCodegenTest.xml
Error:
java.lang.AssertionError: expected [null] but found [Ref-Property-Title]
Raw output
java.lang.AssertionError: expected [null] but found [Ref-Property-Title]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1578)
at org.testng.Assert.assertEqualsImpl(Assert.java:150)
at org.testng.Assert.assertEquals(Assert.java:132)
at org.testng.Assert.assertEquals(Assert.java:656)
at org.testng.Assert.assertEquals(Assert.java:666)
at org.openapitools.codegen.DefaultCodegenTest.testSiblingPropertyWithRefInOAS31(DefaultCodegenTest.java:5044)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:686)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:230)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:63)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:992)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:203)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:154)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:134)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at org.testng.TestRunner.privateRun(TestRunner.java:739)
at org.testng.TestRunner.run(TestRunner.java:614)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:421)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373)
at org.testng.SuiteRunner.run(SuiteRunner.java:312)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1208)
at org.testng.TestNG.runSuites(TestNG.java:1112)
at org.testng.TestNG.run(TestNG.java:1079)