All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.acme.externalservice2.api.DefaultApi Maven / Gradle / Ivy

The newest version!
package org.acme.externalservice2.api;

import org.acme.externalservice2.model.QueryRequest;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;
import org.eclipse.microprofile.rest.client.annotation.RegisterProvider;
import org.eclipse.microprofile.rest.client.annotation.RegisterClientHeaders;
import org.acme.externalservice2.api.auth.CompositeAuthenticationProvider;
import org.acme.externalservice2.api.auth.AuthenticationPropagationHeadersFactory;

import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;
import java.util.Map;
import jakarta.ws.rs.*;
import jakarta.ws.rs.core.MediaType;

import jakarta.enterprise.context.ApplicationScoped;

import io.quarkiverse.openapi.generator.annotations.GeneratedClass;
import io.quarkiverse.openapi.generator.annotations.GeneratedMethod;
import io.quarkiverse.openapi.generator.annotations.GeneratedParam;

/**
  * external-service2 API
  * 

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

*/ @Path("/token-propagation-external-service2/executeQuery2") @RegisterRestClient( configKey="token_propagation_external_service2_yaml") @GeneratedClass(value="token-propagation-external-service2.yaml", tag = "Default") @RegisterProvider(CompositeAuthenticationProvider.class) @RegisterClientHeaders(AuthenticationPropagationHeadersFactory.class) @ApplicationScoped public interface DefaultApi { /** * @param queryRequest */ @POST @Consumes({"application/json"}) @GeneratedMethod ("executeQuery2") public jakarta.ws.rs.core.Response executeQuery2( QueryRequest queryRequest ); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy