Hi,
First thing first let me introduce myself. I am Philippe, moved on the product side for the last decade (and more), trying to get things done with Vert.x to get some pleasure and learn as of now bu, hopefully for more in the future. And by the way thanks for this list for it gave me precious info over and over again.
My issue might be very simple but I can't figure how to validate a route since the method I wanted to use is now deprecated. In the not so distant past I would have done something like :
public ValidationHandler redirect() {
SchemaParser schemaParser = SchemaParser.createDraft7SchemaParser(SchemaRouter.create(vertx, new SchemaRouterOptions()));
return ValidationHandler
.builder(schemaParser)
.pathParameter(Parameters.param("key", stringSchema()))
.build();
}
The idea here is to ensure that the called url has the key parameter in its path (like
http://localhost:8080/one-value (where one-value would be the key path parameter).
Do you know how I could do that without deprecation? It's probably trivial but I am lost and the doc only states "Deprecated users should migrate to the new validator" but I can't figure how :-(
Thanks!
philippe