This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package {{apiPackage}} | |
| import {{packageName}}.infrastructure.CollectionFormats.* | |
| import retrofit2.http.* | |
| {{#doNotUseRxAndCoroutines}} | |
| import retrofit2.Call | |
| {{/doNotUseRxAndCoroutines}} | |
| {{^doNotUseRxAndCoroutines}} | |
| {{#useCoroutines}} | |
| import retrofit2.Response |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "library": "jvm-retrofit2", | |
| "groupId": "com.example.bug", | |
| "artifactId": "bug-repro", | |
| "artifactVersion": "1.0-SNAPSHOT", | |
| "packageName": "com.example.bug", | |
| "collectionType": "list", | |
| "useCoroutines": true, | |
| "serializationLibrary": "gson", | |
| "serializableModel": true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "version": "1.0.0", | |
| "title": "Swagger Petstore", | |
| "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", | |
| "termsOfService": "http://swagger.io/terms/", | |
| "contact": { | |
| "name": "Swagger API Team" | |
| }, |