Skip to content

Instantly share code, notes, and snippets.

@cortinico
Created October 30, 2019 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cortinico/a8f97aa8ceeb60a17835da5a1a67f135 to your computer and use it in GitHub Desktop.
Save cortinico/a8f97aa8ceeb60a17835da5a1a67f135 to your computer and use it in GitHub Desktop.
Generated Retrofit interface from swagger-gradle-codegen
interface DefaultApi {
/**
* Find business by ID
* Returns a single Business by its ID
* @param businessId ID of Business to return (required)
*/
@GET("/business/{businessId}")
fun getBusinessById(
@retrofit2.http.Path("businessId") businessId: Long
): Single<Business>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment