Skip to content

SBT plugin for Scala code generation for Play! Framework using Swagger 2.0 specs

License

Notifications You must be signed in to change notification settings

Romastyi/sbt-play-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonatype Nexus (Snapshots) Maven Central

SBT plugin for Scala code generation for Play! Framework using Swagger 2.0 specs

N.B.

This project is based on sbt-swagger-codegen by UniCredit S.p.A., but provides more complete Swagger 2.0 specification support.

Overview

Like the official swagger-codegen this project aims to generate Scala source code from Swagger 2.0 specification compliant API descriptions. Moreover, you can do it directly within an sbt project.

Compatibility

This code generator is designed specifically for Swagger 2.0 specification. Moreover, it relies on Play! Framework for Json marshalling/unmarshalling, server- and client-side code.

Plugin version Play 2.3.x Play 2.4.x Play 2.5.x Play 2.6.x Play 2.7.x
0.1.x
0.2.x ✔ *

*) Experimental support.

Install

Enable it inside your project\plugins.sbt like this:

addSbtPlugin("com.github.romastyi" % "sbt-play-boilerplate" % "latest version in badge")

Enable it in your build.sbt like this:

enablePlugins(PlayBoilerplatePlugin)

Quick start

For a super fast hands-on tutorial refer to the related examples and check out sbt-play-boilerplate-examples.

Authors:

Original sbt-swagger-codegen project authors:

This project:

About

SBT plugin for Scala code generation for Play! Framework using Swagger 2.0 specs

Resources

License

Stars

Watchers

Forks

Packages

No packages published