forked from loafle/openapi-generator-original
Allow specification of configkey for microprofile clients (#10693)
This commit is contained in:
committed by
GitHub
parent
ae39d782e0
commit
6bbafdfa30
@@ -36,7 +36,7 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
|
||||
*
|
||||
*/
|
||||
|
||||
@RegisterRestClient
|
||||
@RegisterRestClient(configKey="petstore")
|
||||
@RegisterProvider(ApiExceptionMapper.class)
|
||||
@Path("/pet")
|
||||
public interface PetApi {
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
|
||||
*
|
||||
*/
|
||||
|
||||
@RegisterRestClient
|
||||
@RegisterRestClient(configKey="petstore")
|
||||
@RegisterProvider(ApiExceptionMapper.class)
|
||||
@Path("/store")
|
||||
public interface StoreApi {
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
|
||||
*
|
||||
*/
|
||||
|
||||
@RegisterRestClient
|
||||
@RegisterRestClient(configKey="petstore")
|
||||
@RegisterProvider(ApiExceptionMapper.class)
|
||||
@Path("/user")
|
||||
public interface UserApi {
|
||||
|
||||
Reference in New Issue
Block a user