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

com.apollographql.apollo.gradle.api.Introspection.kt Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package com.apollographql.apollo.gradle.api

import org.gradle.api.provider.MapProperty
import org.gradle.api.provider.Property

/**
 * [Introspection] represents a GraphQL endpoint and its introspection query used to retrieve a schema.
 */
interface Introspection {
  /**
   * The HTTP endpoint url
   *
   * This parameter is mandatory
   */
  val endpointUrl: Property

  /**
   * query parameters if any required to get the introspection response
   *
   * empty by default
   */
  @Deprecated("add query parameters to endpointUrl instead")
  val queryParameters: MapProperty

  /**
   * HTTP headers if any required to get the introspection response
   *
   * empty by default
   */
  val headers: MapProperty

  /**
   * The name of the sourceSet where to download the schema. By default it will be downloaded
   * in the "main" sourceSet (src/main/graphql)
   */
  val sourceSetName: Property
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy