Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update asyncapi-circe-yaml, ... to 0.11.0 #3934

Closed
wants to merge 1 commit into from

Update asyncapi-circe-yaml, ... to 0.11.0

fd7064a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Update asyncapi-circe-yaml, ... to 0.11.0 #3934

Update asyncapi-circe-yaml, ... to 0.11.0
fd7064a
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test report for 3-Native-11 succeeded Jul 16, 2024 in 0s

390 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
core/target/native-3/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml 30βœ… 1ms
core/target/native-3/test-reports/TEST-sttp.tapir.AttributeTest.xml 3βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.CodecDelimitedTest.xml 2βœ… 10ms
core/target/native-3/test-reports/TEST-sttp.tapir.CodecScala3Test.xml 1βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.CodecTest.xml 6βœ… 121ms
core/target/native-3/test-reports/TEST-sttp.tapir.EndpointScala3Test.xml 3βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.EndpointTest.xml 76βœ… 6ms
core/target/native-3/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml 4βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml 14βœ… 5ms
core/target/native-3/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml 13βœ… 3ms
core/target/native-3/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml 29βœ… 1ms
core/target/native-3/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml 1βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml 5βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml 1βœ… 1ms
core/target/native-3/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml 4βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml 2βœ… 1ms
core/target/native-3/test-reports/TEST-sttp.tapir.SchemaAnnotationsTest.xml 1βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml 13βœ… 464ms
core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroScala3Test.xml 9βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml 26βœ… 2ms
core/target/native-3/test-reports/TEST-sttp.tapir.SchemaTest.xml 13βœ… 2ms
core/target/native-3/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml 8βœ… 1s
core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorScala3EnumTest.xml 3βœ… 0ms
core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorTest.xml 28βœ… 1ms
integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.EndpointIOInstancesSpec.xml 3βœ… 1ms
integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ExampleFunctorLawSpec.xml 5βœ… 8ms
integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ModifyFunctorInstancesTest.xml 4βœ… 0ms
integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.TapirCodecCatsTest.xml 22βœ… 123ms
integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ValidatorCatsTest.xml 3βœ… 0ms
json/jsoniter/target/native-3/test-reports/TEST-sttp.tapir.json.jsoniter.TapirJsonJsoniterTests.xml 1βœ… 20ms
json/upickle/target/native-3/test-reports/TEST-sttp.tapir.json.upickle.TapirJsonuPickleTests.xml 5βœ… 26ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSConfigTest.xml 2βœ… 0ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml 2βœ… 5ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml 5βœ… 2ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml 1βœ… 45ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml 9βœ… 1ms
server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml 3βœ… 1ms
testing/target/native-3/test-reports/TEST-sttp.tapir.testing.EndpointVerifierTest.xml 30βœ… 7ms

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.annotations.DeriveEndpointIOTest.xml

30 tests were completed in 1ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.annotations.DeriveEndpointIOTest 30βœ… 1ms

βœ…Β sttp.tapir.annotations.DeriveEndpointIOTest

βœ… @endpointInput should derive correct input for @query, @cookie, @header
βœ… @endpointInput should derive correct input for dealiased bodies
βœ… @endpointInput should derive correct input for @queries, @headers, @cookies
βœ… @endpointInput should derive correct input for auth annotations
βœ… @endpointInput should derive correct input for auth annotations with named security schemes
βœ… @endpointInput should derive input with descriptions
βœ… @endpointInput should derive input with paths
βœ… @endpointInput should derive correct input with schema annotations
βœ… @endpointInput should derive default annotation correctly
βœ… @endpointInput should customise inputs
βœ… @endpointInput should derive correct input for byte array body
βœ… @endpointInput should derive correct input for byte buffer body
βœ… @endpointInput should derive correct input for input stream body
βœ… @endpointInput should derive correct input for form body
βœ… @endpointInput should derive correct input for file body
βœ… @endpointInput should derive correct input for multipart body
βœ… @endpointInput should accept empty case classes when annotated with @endpointInput
βœ… @endpointInput should not compile if there is field without annotation
βœ… @endpointInput should not compile if there are two body annotations
βœ… @endpointInput should not compile for alone @apikey
βœ… @endpointInput should not compile for body without JSON codec
βœ… @endpointInput should not compile when not all paths are captured in case class
βœ… @endpointInput should not compile when not all paths are captured in path
βœ… @endpointInput should not compile when path contains duplicated variable
βœ… @endpointOutput should devive correct output for @header, @setCookie, @statusCode
βœ… @endpointOutput should derive correct output for @headers, @cookies, @setCookies
βœ… @endpointOutput should not compile if there is field without annotation
βœ… @endpointOutput should not compile if there are two body annotations
βœ… @endpointOutput should not compile for wrong field type
βœ… @endpointOutput should not report ambiguous header import errors

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.AttributeTest.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.AttributeTest 3βœ… 0ms

βœ…Β sttp.tapir.AttributeTest

βœ… should create an attribute key for a case class
βœ… should create an attribute key for a list of case classes
βœ… should create an attribute key for a list of generic case classes

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecDelimitedTest.xml

2 tests were completed in 10ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.CodecDelimitedTest 2βœ… 10ms

βœ…Β sttp.tapir.CodecDelimitedTest

βœ… should encode and decode comma-separated values
βœ… should encode and decode comma-separated values in a list

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecScala3Test.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.CodecScala3Test 1βœ… 0ms

βœ…Β sttp.tapir.CodecScala3Test

βœ… should derive a codec for a string-based union type

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.CodecTest.xml

6 tests were completed in 121ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.CodecTest 6βœ… 121ms

βœ…Β sttp.tapir.CodecTest

βœ… should encode simple types using .toString
βœ… should use default, when available
βœ… should correctly encode and decode Date
βœ… should create a part codec
βœ… should call the validator during decoding when using .mapValidate
βœ… should provide a mapEither function

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.EndpointScala3Test.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.EndpointScala3Test 3βœ… 0ms

βœ…Β sttp.tapir.EndpointScala3Test

βœ… oneOfVariant should compile when using parametrised enums
βœ… oneOfVariant should compile when using parameterless sealed traits
βœ… oneOfVariant should not compile when using parameterless enums

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.EndpointTest.xml

76 tests were completed in 6ms with 76 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.EndpointTest 76βœ… 6ms

βœ…Β sttp.tapir.EndpointTest

βœ… endpoint should compile inputs
βœ… endpoint should compile security inputs
βœ… endpoint should compile map security into case class
βœ… endpoint should compile a path fold
βœ… endpoint should compile inputs with streams
βœ… endpoint should compile outputs
βœ… endpoint should compile outputs with streams
βœ… endpoint should compile error outputs
βœ… endpoint should compile one-of empty output
βœ… endpoint should allow to map status code multiple times to same format different charset
βœ… endpoint should compile one-of empty output of a custom type
βœ… endpoint should compile with a single error variant
βœ… endpoint should compile with multiple error variants
βœ… oneOfVariant should not compile when the type erasure of `T` is different from `T`
βœ… tupling should combine two inputs
βœ… tupling should combine four inputs in two groups
βœ… tupling should combine four inputs in two groups, through an extend method (right)
βœ… tupling should combine four inputs in two groups, through an extend method (left)
βœ… show for Endpoint(securityin: -, in: /p1%2Fp2, errout: -, out: -) should be /p1%2Fp2 -> -/-
βœ… show for Endpoint[E1](securityin: -, in: /p1, errout: -, out: -) should be [E1] /p1 -> -/-
βœ… show for Endpoint(securityin: -, in: GET /p1 /p2, errout: -, out: -) should be GET /p1 /p2 -> -/-
βœ… show for Endpoint(securityin: -, in: /p1 /[p2] /*, errout: -, out: -) should be /p1 /[p2] /* -> -/-
βœ… show for Endpoint(securityin: -, in: POST ?q1 ?q2 {body as text/plain (UTF-8)}, errout: {body as text/plain (UTF-8)}, out: -) should be POST ?q1 ?q2 {body as text/plain (UTF-8)} -> {body as text/plain (UTF-8)}/-
βœ… show for Endpoint(securityin: -, in: GET {header X-header}, errout: -, out: {header Y-header}) should be GET {header X-header} -> -/{header Y-header}
βœ… show for Endpoint(securityin: -, in: GET, errout: -, out: one of({body as text/plain (UTF-8)}|{body as application/octet-stream})) should be GET -> -/one of({body as text/plain (UTF-8)}|{body as application/octet-stream})
βœ… show for Endpoint(securityin: -, in: GET, errout: -, out: {body as text/plain (UTF-8)}) should be GET -> -/{body as text/plain (UTF-8)}
βœ… show for Endpoint(securityin: -, in: GET, errout: -, out: {body as application/octet-stream}) should be GET -> -/{body as application/octet-stream}
βœ… short show for Endpoint(securityin: -, in: -, errout: -, out: -) should be * *
βœ… short show for Endpoint(securityin: -, in: /p1, errout: -, out: -) should be * /p1
βœ… short show for Endpoint(securityin: -, in: /p1 /p2, errout: -, out: -) should be * /p1/p2
βœ… short show for Endpoint(securityin: -, in: GET /p1 /p2, errout: -, out: -) should be GET /p1/p2
βœ… short show for Endpoint(securityin: -, in: POST, errout: -, out: -) should be POST *
βœ… short show for Endpoint(securityin: -, in: GET /p1 /*, errout: -, out: -) should be GET /p1/*
βœ… short show for Endpoint[my endpoint](securityin: -, in: GET /p1 /p2, errout: -, out: -) should be [my endpoint]
βœ… showPathTemplate for Endpoint(securityin: -, in: -, errout: -, out: -) should be *
βœ… showPathTemplate for Endpoint(securityin: -, in: /, errout: -, out: -) should be /
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1, errout: -, out: -) should be /p1
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /p2, errout: -, out: -) should be /p1/p2
βœ… showPathTemplate for Endpoint(securityin: /p1, in: /p2, errout: -, out: -) should be /p1/p2
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /[], errout: -, out: -) should be /p1/{param1}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /[par], errout: -, out: -) should be /p1/{par}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 ?par, errout: -, out: -) should be /p1?par={par}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 ?par1 ?par2, errout: -, out: -) should be /p1?par1={par1}&par2={par2}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /[par1] ?par2, errout: -, out: -) should be /p1/{par1}?par2={par2}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 auth(api key, via ?par2), errout: -, out: -) should be /p1?par2={par2}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p2 /[], errout: -, out: -) should be /p2/{param1}
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1%2Fp2, errout: -, out: -) should be /p1%2Fp2
βœ… showPathTemplate for Endpoint(securityin: -, in: /8*5%29PpDEeXsx4n.9NjyT%3DYtJuUf%26F%21AamMIi-%40%2C%3BvG61VqQL%27bgBl0_2CH%2BcWh%287rKRw%3A%243k%7EOzSdZo, errout: -, out: -) should be /8*5)PpDEeXsx4n.9NjyT=YtJuUf&F!AamMIi-@,;vG61VqQL'bgBl0_2CH+cWh(7rKRw:$3k~OzSdZo
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /*, errout: -, out: -) should be /p1/*
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 ?*, errout: -, out: -) should be /p1?*
βœ… showPathTemplate for Endpoint(securityin: -, in: /p1 /p2 ?par1 ?par2, errout: -, out: -) should be /p1?par1={par1}
βœ… showPathTemplate for Endpoint(securityin: -, in: /not /allowed /chars /hi%3Fhello, errout: -, out: -) should be /not/allowed/chars/hi%3Fhello
βœ… showPathTemplate should keep param count in show functions
βœ… showPathTemplate should skip query parameters
βœ… validate should accumulate validators
βœ… validate should add validator for an option
βœ… validate should add validator for an iterable
βœ… validate should map input and output
βœ… httpMethod for Endpoint(securityin: -, in: -, errout: -, out: -) should be None
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] GET, errout: -, out: -) should be Some(GET)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] PUT, errout: -, out: -) should be Some(PUT)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] POST, errout: -, out: -) should be Some(POST)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] HEAD, errout: -, out: -) should be Some(HEAD)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] TRACE, errout: -, out: -) should be Some(TRACE)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] PATCH, errout: -, out: -) should be Some(PATCH)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] CONNECT, errout: -, out: -) should be Some(CONNECT)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] DELETE, errout: -, out: -) should be Some(DELETE)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] OPTIONS, errout: -, out: -) should be Some(OPTIONS)
βœ… httpMethod for Endpoint(securityin: -, in: /api /cats /[] XX, errout: -, out: -) should be Some(XX)
βœ… compile should work for endpoint descriptions providing partial server logic using serverLogicForCurrent
βœ… mapTo should properly map between tuples and case classes of arity 1
βœ… mapTo should properly map between tuples and case classes of arity 2
βœ… mapTo should fail on invalid field type
βœ… mapTo should fail on redundant field
βœ… mapTo should fail on missing field
βœ… mapTo should compile for case class with defined companion object

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.EnumsCodecDerivationTest.xml

4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.EnumsCodecDerivationTest 4βœ… 0ms

βœ…Β sttp.tapir.generic.EnumsCodecDerivationTest

βœ… should derive codec for an sealed-trait based enum
βœ… should derive codec for an Scala enumeration
βœ… should derive a customised codec for an Scala enumeration
βœ… should derive a default codec for an Scala enumeration

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.FormCodecDerivationTest.xml

14 tests were completed in 5ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.FormCodecDerivationTest 14βœ… 5ms

βœ…Β sttp.tapir.generic.FormCodecDerivationTest

βœ… should generate a codec for a one-arg case class
βœ… should generate a codec for a two-arg case class
βœ… should generate a codec for a three-arg case class
βœ… should generate a codec for a case class with optional parameters
βœ… should use the right schema for a two-arg case class
βœ… should generate a codec for a one-arg case class using snake-case naming transformation
βœ… should generate a codec for a one-arg case class using screaming-snake-case naming transformation
βœ… should generate a codec for a one-arg case class using kebab-case naming transformation
βœ… should generate a codec for a one-arg case class with list
βœ… should generate a codec for a one-arg case class with set
βœ… should generate a codec for a one-arg case class with vector
βœ… should generate a codec for a one-arg case class using implicit schema
βœ… should generate a codec for a case class with simple types
βœ… should generate a codec with custom field name

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.MultipartCodecDerivationTest.xml

13 tests were completed in 3ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.MultipartCodecDerivationTest 13βœ… 3ms

βœ…Β sttp.tapir.generic.MultipartCodecDerivationTest

βœ… should generate a codec for a one-arg case class
βœ… should generate a codec for a two-arg case class
βœ… should generate a codec for a case class with optional parameters
βœ… should use the right schema for a case class with part metadata
βœ… should generate a codec for a one-arg case class using snake-case naming transformation
βœ… should generate a codec for a one-arg case class using screaming-snake-case naming transformation
βœ… should generate a codec for a one-arg case class with list
βœ… should generate a codec for a case class with part metadata
βœ… should generate a codec for a one-arg case class with implicit validator
βœ… should generate a codec with a custom field name
βœ… should generate a codec for a case class with file part
βœ… should use the right schema for an optional file part with metadata 2
βœ… should use the right schema for a two-arg case class

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.SchemaGenericAutoTest.xml

29 tests were completed in 1ms with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.SchemaGenericAutoTest 29βœ… 1ms

βœ…Β sttp.tapir.generic.SchemaGenericAutoTest

βœ… Schema auto derivation should find schema for simple types
βœ… Schema auto derivation should find schema for optional types
βœ… Schema auto derivation should find schema for collections
βœ… Schema auto derivation should find schema for collections of case classes
βœ… Schema auto derivation should find schema for a simple case class
βœ… Schema auto derivation should find schema for a simple case class and use identity naming transformation
βœ… Schema auto derivation should find schema for a nested case class
βœ… Schema auto derivation should find schema for case classes with collections
βœ… Schema auto derivation should use custom schema for custom types
βœ… Schema auto derivation should derive schema for parametrised type classes
βœ… Schema auto derivation should find schema for map
βœ… Schema auto derivation should find schema for map of products
βœ… Schema auto derivation should find schema for map of generic products
βœ… Schema auto derivation should add meta-data to schema from annotations
βœ… Schema auto derivation should find the right schema for a case class with simple types
βœ… Schema auto derivation should find schema for a simple case class and use snake case naming transformation
βœ… Schema auto derivation should find schema for a simple case class and use screaming snake case naming transformation
βœ… Schema auto derivation should find schema for a simple case class and use kebab case naming transformation
βœ… Schema auto derivation should not transform names which are annotated with a custom name
βœ… Schema auto derivation should customise the schema using the given function
βœ… Schema auto derivation should generate one-of schema using the given discriminator
βœ… Schema auto derivation should generate one-of schema using the given discriminator (kebab case subtype names)
βœ… Schema auto derivation should generate one-of schema using the given discriminator (snake case subtype names)
βœ… Schema auto derivation should generate one-of schema using the given discriminator (screaming snake case subtype names)
βœ… Schema auto derivation should generate one-of schema using the given discriminator (full subtype names)
βœ… Schema auto derivation should generate one-of schema using the given discriminator (full kebab case subtype names)
βœ… Schema auto derivation should generate one-of schema using the given discriminator (full snake case subtype names)
βœ… Schema auto derivation should find schema for subtypes containing parent metadata from annotations
βœ… Schema auto derivation should add validators for collection and option elements

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.generic.ValueClassCodecDerivationTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.generic.ValueClassCodecDerivationTest 1βœ… 0ms

βœ…Β sttp.tapir.generic.ValueClassCodecDerivationTest

βœ… should derive codec for value classes

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointInputTest.xml

5 tests were completed in 0ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.internal.RichEndpointInputTest 5βœ… 0ms

βœ…Β sttp.tapir.internal.RichEndpointInputTest

βœ… pathTo should find path to self
βœ… pathTo should not find path to non existing input
βœ… pathTo should find path to input down the hierarchy
βœ… pathTo should find path to input from the middle of hierarchy
βœ… pathTo should find path to the middle of hierarchy

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.RichEndpointOutputTest.xml

1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.internal.RichEndpointOutputTest 1βœ… 1ms

βœ…Β sttp.tapir.internal.RichEndpointOutputTest

βœ… output media type should match content type with lower and upper case charset

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.internal.UrlencodedDataTest.xml

4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.internal.UrlencodedDataTest 4βœ… 0ms

βœ…Β sttp.tapir.internal.UrlencodedDataTest

βœ… should handle empty string
βœ… should handle single parameter
βœ… should handle two parameters
βœ… should handle complex data

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.namespacing.SchemaMacroNamespaceTest.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.namespacing.SchemaMacroNamespaceTest 2βœ… 1ms

βœ…Β sttp.tapir.namespacing.SchemaMacroNamespaceTest

βœ… should compile macro-generated code using derivedEnumeration in a package other than sttp.tapir
βœ… should compile macro-generated code for shadowed _root_.scala names

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaAnnotationsTest.xml

1 tests were completed in 0ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaAnnotationsTest 1βœ… 0ms

βœ…Β sttp.tapir.SchemaAnnotationsTest

βœ… SchemaAnnotations enrich should derive schema annotations and enrich schema

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaApplyValidationTest.xml

13 tests were completed in 464ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaApplyValidationTest 13βœ… 464ms

βœ…Β sttp.tapir.SchemaApplyValidationTest

βœ… should validate openProduct
βœ… should validate option
βœ… should validate iterable
βœ… should validate array
βœ… should skip collection validation for array if element validator is passing
βœ… should skip collection validation for iterable if element validator is passing
βœ… should validate product
βœ… should use validators defined when modifying the schema
βœ… should validate recursive values
βœ… should show recursive validators
βœ… should validate either
βœ… should validate mapped either
βœ… should validate oneOf object

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroScala3Test.xml

9 tests were completed in 0ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaMacroScala3Test 9βœ… 0ms

βœ…Β sttp.tapir.SchemaMacroScala3Test

βœ… should derive a one-of-wrapped schema for enums
βœ… should derive schema for union types
βœ… should derive schema for a named union type
βœ… should derive schema for a union type with generics (same type constructor, different arguments)
βœ… should derive schema for a union type with generics (different type constructors)
βœ… should derive schema for union types with 3 components
βœ… should derive schema for a string-based union type
βœ… should derive schema for a const as a string-based union type
βœ… should derive a schema for a union of unions when all are string-based constants

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaMacroTest.xml

26 tests were completed in 2ms with 26 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaMacroTest 26βœ… 2ms

βœ…Β sttp.tapir.SchemaMacroTest

βœ… apply modification should modify basic schema
βœ… apply modification should modify product schema
βœ… apply modification should modify product schema with derivation
βœ… apply modification should modify nested product schema
βœ… apply modification should modify array elements in products
βœ… apply modification should modify array in products
βœ… apply modification should support chained modifications
βœ… apply modification should modify optional parameter
βœ… apply modification should modify property of optional parameter
βœ… apply modification should modify property of open product
βœ… apply modification should modify open product
βœ… apply modification should create a map schema with string keys
βœ… apply modification should create a map schema with non-string keys
βœ… apply modification should work with custom naming configuration
βœ… apply modification should Not propagate type encodedName to subtypes of a sealed trait, but keep inheritance for fields
βœ… apply modification should add discriminator based on a trait method
βœ… apply modification should extract type params for discriminator based on a trait method
βœ… apply modification should add the discriminator as a field when using oneOfUsingField
βœ… apply modification should create a one-of wrapped schema
βœ… apply modification should create a schema using oneOfField given an enum extractor
βœ… apply modification should create and enrich a schema for an enum
βœ… apply modification should derive schema for a scala enumeration and enrich schema
βœ… apply modification should derive a customised schema for a scala enumeration and enrich schema
βœ… apply default should add default to product
βœ… apply example should add example to product
βœ… apply description should add description to product

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.SchemaTest.xml

13 tests were completed in 2ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.SchemaTest 13βœ… 2ms

βœ…Β sttp.tapir.SchemaTest

βœ… should modify basic schema
βœ… should modify product schema
βœ… should modify nested product schema
βœ… should modify array elements in products
βœ… should modify array in products
βœ… should modify property of optional parameter
βœ… should modify property of map value
βœ… should modify open product schema
βœ… should generate one-of schema using the given discriminator
βœ… should addDiscriminatorField should only add discriminator field to child schemas if not yet present
βœ… should propagate format for optional schemas
βœ… should generate correct names for Eithers with parameterized types
βœ… should generate correct names for Maps with parameterized types

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.typelevel.MatchTypeTest.xml

8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.typelevel.MatchTypeTest 8βœ… 1s

βœ…Β sttp.tapir.typelevel.MatchTypeTest

βœ… MatchType should provide implicit for basic type
βœ… MatchType should provide implicit for all primitive class returning true for other primitive type
βœ… MatchType should provide implicit for all primitive class returning false for any other primitive type
βœ… MatchType should provide implicit for case class
βœ… MatchType should provide implicit for sealed stuff
βœ… MatchType should provide implicit for complex nested type
βœ… MatchType should provide implicit for recursive structure
βœ… MatchType should work for list

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorScala3EnumTest.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.ValidatorScala3EnumTest 3βœ… 0ms

βœ…Β sttp.tapir.ValidatorScala3EnumTest

βœ… should validate enum
βœ… should not compile for enum with parameter
βœ… should derive a validator for a string-based union type

βœ…Β core/target/native-3/test-reports/TEST-sttp.tapir.ValidatorTest.xml

28 tests were completed in 1ms with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.ValidatorTest 28βœ… 1ms

βœ…Β sttp.tapir.ValidatorTest

βœ… should validate for min value
βœ… should validate for min value (exclusive)
βœ… should validate for max value
βœ… should validate for max value (exclusive)
βœ… should validate for positive value
βœ… should validate for positiveOrZero value
βœ… should validate for negative value
βœ… should validate for in range value
βœ… should validate for maxSize of collection
βœ… should validate for minSize of collection
βœ… should validate for nonEmpty of collection
βœ… should validate for fixedSize of collection
βœ… should validate for matching regex pattern
βœ… should validate for minLength of string
βœ… should validate for minLength of string and include unicode characters
βœ… should validate for maxLength of string
βœ… should validate for maxLength of string and include unicode characters
βœ… should validate for fixedLength of string
βœ… should validate for fixedLength of string and include unicode characters
βœ… should validate for nonEmptyString of string
βœ… should validate with reject
βœ… should validate with any of validators
βœ… should validate with all of validators
βœ… should validate with custom validator
βœ… should validate coproduct enum
βœ… should derive for branched sealed traits where all leafs are objects
βœ… should not compile for malformed coproduct enum
βœ… should validate closed set of ints

βœ…Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.EndpointIOInstancesSpec.xml

3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.EndpointIOInstancesSpec 3βœ… 1ms

βœ…Β sttp.tapir.integ.cats.EndpointIOInstancesSpec

βœ… InvariantSemigroupal syntax should work with EndpointInput
βœ… InvariantSemigroupal syntax should work with EndpointOutput
βœ… InvariantSemigroupal syntax should work with EndpointIO

βœ…Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ExampleFunctorLawSpec.xml

5 tests were completed in 8ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.ExampleFunctorLawSpec 5βœ… 8ms

βœ…Β sttp.tapir.integ.cats.ExampleFunctorLawSpec

βœ… Example.FunctorLaws.functor.covariant composition
βœ… Example.FunctorLaws.functor.covariant identity
βœ… Example.FunctorLaws.functor.invariant composition
βœ… Example.FunctorLaws.functor.invariant identity
βœ… Example.FunctorLaws.functor.mapOrKeepToMapEquivalence

βœ…Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ModifyFunctorInstancesTest.xml

4 tests were completed in 0ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.ModifyFunctorInstancesTest 4βœ… 0ms

βœ…Β sttp.tapir.integ.cats.ModifyFunctorInstancesTest

βœ… should modify elements in NonEmptyList
βœ… should modify elements in NonEmptySet
βœ… should modify elements in Chain
βœ… should modify elements in NonEmptyChain

βœ…Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.TapirCodecCatsTest.xml

22 tests were completed in 123ms with 22 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.TapirCodecCatsTest 22βœ… 123ms

βœ…Β sttp.tapir.integ.cats.TapirCodecCatsTest

βœ… should find schema for cats collections
βœ… should find proper validator for cats collections
βœ… Provided PlainText coder for non empty list should correctly serialize a non empty list
βœ… Provided PlainText coder for non empty list should correctly deserialize everything it serialize
βœ… Provided PlainText coder for non empty list should fail on empty list
βœ… Provided PlainText coder for non empty list should have the proper schema for list
βœ… Provided PlainText coder for non empty list should have the proper validator for list
βœ… Provided PlainText coder for non empty vector should correctly serialize a non empty vector
βœ… Provided PlainText coder for non empty vector should correctly deserialize everything it serialize for vector
βœ… Provided PlainText coder for non empty vector should fail on empty vector
βœ… Provided PlainText coder for non empty vector should have the proper schema for vector
βœ… Provided PlainText coder for non empty vector should have the proper validator for vector
βœ… Provided PlainText codec for non empty chain should correctly serialize a non empty chain
βœ… Provided PlainText codec for non empty chain should correctly deserialize everything it serialize for chain
βœ… Provided PlainText codec for non empty chain should fail on empty chain
βœ… Provided PlainText codec for non empty chain should have the proper schema for chain
βœ… Provided PlainText codec for non empty chain should have the proper validator for chain
βœ… Provided PlainText codec for non empty set should correctly serialize a non empty set
βœ… Provided PlainText codec for non empty set should correctly deserialize everything it serialize for set
βœ… Provided PlainText codec for non empty set should fail on empty set
βœ… Provided PlainText codec for non empty set should have the proper schema for set
βœ… Provided PlainText codec for non empty set should have the proper validator for set

βœ…Β integrations/cats/target/native-3/test-reports/TEST-sttp.tapir.integ.cats.ValidatorCatsTest.xml

3 tests were completed in 0ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.integ.cats.ValidatorCatsTest 3βœ… 0ms

βœ…Β sttp.tapir.integ.cats.ValidatorCatsTest

βœ… should success with non-empty list - NonEmptyList
βœ… should success with non-empty list - List
βœ… should fail with empty list - List

βœ…Β json/jsoniter/target/native-3/test-reports/TEST-sttp.tapir.json.jsoniter.TapirJsonJsoniterTests.xml

1 tests were completed in 20ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.json.jsoniter.TapirJsonJsoniterTests 1βœ… 20ms

βœ…Β sttp.tapir.json.jsoniter.TapirJsonJsoniterTests

βœ… should return a JSON specific decode error on failure

βœ…Β json/upickle/target/native-3/test-reports/TEST-sttp.tapir.json.upickle.TapirJsonuPickleTests.xml

5 tests were completed in 26ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.json.upickle.TapirJsonuPickleTests 5βœ… 26ms

βœ…Β sttp.tapir.json.upickle.TapirJsonuPickleTests

βœ… should encode and decode Scala case class with non-empty Option elements
βœ… should encode and decode Scala case class with empty Option elements
βœ… should encode and decode String type
βœ… should encode and decode Long type
βœ… should return a JSON specific decode error on failure

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSConfigTest.xml

2 tests were completed in 0ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interceptor.cors.CORSConfigTest 2βœ… 0ms

βœ…Β sttp.tapir.server.interceptor.cors.CORSConfigTest

βœ… CORS config should provide a valid default config
βœ… CORS config should detect an invalid config

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.cors.CORSInterceptorTest.xml

2 tests were completed in 5ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interceptor.cors.CORSInterceptorTest 2βœ… 5ms

βœ…Β sttp.tapir.server.interceptor.cors.CORSInterceptorTest

βœ… A custom CORS interceptor should be created with a valid config
βœ… A custom CORS interceptor should not be created with an invalid config

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest.xml

5 tests were completed in 2ms with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest 5βœ… 2ms

βœ…Β sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandlerTest

βœ… should create a validation error message for a nested field
βœ… should create a validation error message including encoded enumeration values
βœ… should create an error message including failed json paths
βœ… should create an error message including failed multipart parts
βœ… should enclose string values in error messages in quotes

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.DecodeBasicInputsTest.xml

1 tests were completed in 45ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.DecodeBasicInputsTest 1βœ… 45ms

βœ…Β sttp.tapir.server.interpreter.DecodeBasicInputsTest

βœ… should return an error if decoding throws an exception

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.FilterServerEndpointsTest.xml

9 tests were completed in 1ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.FilterServerEndpointsTest 9βœ… 1ms

βœ…Β sttp.tapir.server.interpreter.FilterServerEndpointsTest

βœ… should filter endpoints with a single fixed path component
βœ… should filter endpoints with an empty fixed path component
βœ… should not filter endpoints without any path component
βœ… should filter endpoints with multiple fixed path components
βœ… should filter endpoints with a single fixed and a single path capture component
βœ… should filter endpoints with multiple fixed and single capture components
βœ… should filter endpoints with multiple fixed and capture components
βœ… should filter endpoints with fixed and paths components
βœ… should filter endpoints with fixed, capture and paths components

βœ…Β server/core/target/native-3/test-reports/TEST-sttp.tapir.server.interpreter.ServerInterpreterTest.xml

3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.server.interpreter.ServerInterpreterTest 3βœ… 1ms

βœ…Β sttp.tapir.server.interpreter.ServerInterpreterTest

βœ… should call the interceptors in the correct order
βœ… should decode security inputs, basic regular inputs, and not decode the body, when security logic fails
βœ… should use a customized reject interceptor

βœ…Β testing/target/native-3/test-reports/TEST-sttp.tapir.testing.EndpointVerifierTest.xml

30 tests were completed in 7ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
sttp.tapir.testing.EndpointVerifierTest 30βœ… 7ms

βœ…Β sttp.tapir.testing.EndpointVerifierTest

βœ… should should not detect shadowed endpoint when first endpoint has empty path and second fixed path
βœ… should not detect shadowed endpoint when second endpoint doesn't have specified method
βœ… should detect shadowed endpoint when first endpoint doesn't have specified method
βœ… should should detect shadowed endpoint when first endpoint has only wildcard path and second empty path
βœ… should detect shadowed endpoint when http methods are provided in different order
βœ… should detect shadowed endpoint when security inputs and inputs overlap
βœ… should should not detect shadowed endpoint when methods are not provided and paths are different
βœ… should should detect shadowed endpoint when methods are not provided
βœ… should omit all segments which are not relevant for shadow check
βœ… should should detect shadowed endpoints with path variables that contain special characters
βœ… should not detect shadowed endpoint when it is only partially shadowed
βœ… should detect endpoint with path variable shadowed by endpoint with wildcard
βœ… should detect shadowed endpoints for endpoints with similar path structure but with different path vars names
βœ… should detect shadowed endpoints for endpoints with path variables and wildcards at the beginning
βœ… should detect shadowed endpoints for endpoints with path variables in the middle
βœ… should detect shadowed endpoints for fixed paths
βœ… should return empty result when no shadowed endpoints exist
βœ… should return empty result for empty input
βœ… should not detect incorrect path input when input is fixed
βœ… should not detect incorrect path input when wildcard `paths` segment appears as the last at input
βœ… should not detect incorrect path input when wildcard `paths` segment appears as the last at security input
βœ… should detect incorrect path input when wildcard `paths` segment appears before the last at input
βœ… should detect incorrect path input when wildcard `paths` segment appears before the last security input
βœ… should detect incorrect path input when wildcard `paths` segment and any path is defined in standard input
βœ… should not detect any incorrect path input when wildcard `paths` segment is defined as last segment of path
βœ… should detect incorrect path input when wildacard `paths` segment overlaps other path segments and return proper index in path
βœ… should detect shadowed endpoints and incorrect path simultaneously
βœ… should detect duplicated methods under endpoint
βœ… should not detect duplicated methods when there is at most one method defined
βœ… should detect endpoints with body where status code doesn't allow a body