diff --git a/openapi/activation.openapi.yaml b/openapi/activation.openapi.yaml index da37f83..403e49e 100644 --- a/openapi/activation.openapi.yaml +++ b/openapi/activation.openapi.yaml @@ -445,7 +445,7 @@ components: pattern: "^[ -~]{1,64}$" minLength: 1 maxLength: 64 - example: "1.0.0-alpha-a.b-c-somethinglong+build.1-aef.1-its-okay" + example: "v1" # -------------------------------------------------------------------------- # Domain specific basic types. diff --git a/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java b/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java index d258f9d..46fd9e2 100644 --- a/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java +++ b/src/main/java/it/gov/pagopa/rtp/activator/RtpActivatorApplication.java @@ -2,11 +2,13 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import reactor.core.publisher.Hooks; @SpringBootApplication public class RtpActivatorApplication { public static void main(String[] args) { + Hooks.enableAutomaticContextPropagation(); SpringApplication.run(RtpActivatorApplication.class, args); }