SS
Size: a a a
RU
SS
SY
w
openapi-generator-maven-plugin
? Как там сделать чтобы разные интерфейсы генерились? Он по дефолту генерит один интерфейс на один префикс типа /foo/bar /foo/bar2 - будет FooApi. А хотелось бы два разных интерфейса, а то контроллеры очень большой выходитAK
<url-pattern>/client/*<url-pattern>
. Я понимаю, что это не регулярное выражение. Есть ли инструмент для проверки, матчится ли url определённому паттерну?Э
AK
AK
AK
SRV.3.4 Request Path Elements
The request path that leads to a servlet servicing a request is composed of many
important sections. The following elements are obtained from the request URI path
and exposed via the request object:
• Context Path: The path prefix associated with the ServletContext that this
servlet is a part of. If this context is the “default” context rooted at the base of
the Web server’s URL name space, this path will be an empty string. Otherwise, if the context is not rooted at the root of the server’s name space, the path
starts with a’/’ character but does not end with a’/’ character.
• Servlet Path: The path section that directly corresponds to the mapping
which activated this request. This path starts with a’/’ character except in the
case where the request is matched with the ‘/*’ pattern, in which case it is an
empty string.
• PathInfo: The part of the request path that is not part of the Context Path or
the Servlet Path. It is either null if there is no extra path, or is a string with a
leading ‘/’.