This Fancy IntelliJ Platform Plugin allow you to generate swagger implementation from a swagger.json config
- Typescript:
- Fetch
- Axios
- Inversify
- Generate Unit tests
- Java/Kotlin:
- Retrofit2
- Retrofit 2 (with coroutine support)
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for " jetbrains-swagger-import" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
- Url to the
swagger.json
file - Output type (see implementations available)
- The output folder
- Generate (OK)
- Url to the
swagger.json
file - Select
Java (retrofit2) or Kotlin (retrofit2)
- The output folder
- Ensure that
Java package
andbuild.gradle location
are correct - Generate (OK)
Plugin based on the IntelliJ Platform Plugin Template.