Git Product home page Git Product logo

swagger-springmvc-demo's Introduction

swagger-springmvc-demo

Build Status

A set of apps that test or demo swagger-spring mvc https://github.com/martypitt/swagger-springmvc/

Building

./gradlew build
  • If using intellij ues file >> open and point to the build.gradle file
  • As of May 4 2014 there is a bug with intellij and gradle 1.12 - the intellij EAP has a fix so use the EAP version

shared-api

Some basic spring controllers and models shared with the other sub projects

spring3-music

Sample spring-web-mvc 3+ project with spring JavaConfig

  • uses @EnableSwagger for out of the box swagger-springmvc support
  • imports the swagger-ui static content using a webjar "org.ajar:swagger-spring-mvc-ui:0.3"
  • uses the controllers and models from 'shared-api'
  • uses spring ResourceHandlers and a ViewResolver to serve the swagger-ui content form a webjar

spring3-testsuite

  • spring-web-mvc 3+ project using spring xml configuration (mvc-dispatcher-servlet.xml)
  • uses @EnableSwagger with SwaggerSpringMvcPlugin for a more customized swagger-springmvc configuration.
  • demonstrates oauth2 configuration
  • automated browser based tests in 'src/acceptanceTest'
  • functional api level tests in 'src/functionalTest'

spring-boot

  • A spring boot (spring 4.x ) application
  • Three annotations and a single line of executable code for a fully running web app with swagger enabled.

swagger-static

  • Spring boot app which serves static json files to swagger-ui
  • Primarily a manual testing tool to verify how swagger-ui behaves with different json variants.

swagger-ui

  • builds a webjar from swagger-ui's static content
  • sdoc.jsp is the packaged into the jar, when rendered the swagger explore field should be pre-populated with "/api-docs"

swagger-multiplugin

  • sample spring boot application using multiple SwaggerSpringMvcPlugin's aka 'swagger groups'.

swagger-springmvc-demo's People

Contributors

adrianbk avatar dilipkrish avatar

Watchers

James Cloos avatar Chakra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.