|
| 1 | +/** |
| 2 | + * NOTE: This class is auto generated by the Swagger Gradle Codegen for the following API: JUnit Tests |
| 3 | + * |
| 4 | + * More info on this tool is available on https://github.com/Yelp/swagger-gradle-codegen |
| 5 | + */ |
| 6 | + |
| 7 | +package com.yelp.codegen.generatecodesamples.apis |
| 8 | + |
| 9 | +import io.reactivex.Completable |
| 10 | +import retrofit2.http.GET |
| 11 | +import retrofit2.http.Headers |
| 12 | + |
| 13 | +@JvmSuppressWildcards |
| 14 | +interface DefaultApi { |
| 15 | + /** |
| 16 | + * Test brackets in parameter name |
| 17 | + * Make sure that brackets in parameter name are treated properly |
| 18 | + * The endpoint is owned by junittests service owner |
| 19 | + * @param page (optional) |
| 20 | + * @param page2 (optional) |
| 21 | + * @param datePostedBefore (optional) |
| 22 | + * @param datePostedStrictlyBefore (optional) |
| 23 | + * @param datePostedAfter (optional) |
| 24 | + * @param datePostedStrictlyAfter (optional) |
| 25 | + */ |
| 26 | + @Headers( |
| 27 | + "X-Operation-ID: getBracketsInParameterName" |
| 28 | + ) |
| 29 | + |
| 30 | + @GET("/brackets/in/parameter/name") |
| 31 | + fun getBracketsInParameterName( |
| 32 | + @retrofit2.http.Query("page") page: String?, |
| 33 | + @retrofit2.http.Query("page[]") page2: String?, |
| 34 | + @retrofit2.http.Query("datePosted[before]") datePostedBefore: String?, |
| 35 | + @retrofit2.http.Query("datePosted[strictly_before]") datePostedStrictlyBefore: String?, |
| 36 | + @retrofit2.http.Query("datePosted[after]") datePostedAfter: String?, |
| 37 | + @retrofit2.http.Query("datePosted[strictly_after]") datePostedStrictlyAfter: String? |
| 38 | + ): Completable |
| 39 | +} |
0 commit comments