ng-swagger-ui

WebJar for ng-swagger-ui

License

License

MIT
Categories

Categories

Swagger Program Interface REST Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

ng-swagger-ui
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

ng-swagger-ui
WebJar for ng-swagger-ui
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/vineey/angular-swagger

Download ng-swagger-ui

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/ng-swagger-ui/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>ng-swagger-ui</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/ng-swagger-ui/
implementation 'org.webjars.bower:ng-swagger-ui:0.0.4'
// https://jarcasting.com/artifacts/org.webjars.bower/ng-swagger-ui/
implementation ("org.webjars.bower:ng-swagger-ui:0.0.4")
'org.webjars.bower:ng-swagger-ui:jar:0.0.4'
<dependency org="org.webjars.bower" name="ng-swagger-ui" rev="0.0.4">
  <artifact name="ng-swagger-ui" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='ng-swagger-ui', version='0.0.4')
)
libraryDependencies += "org.webjars.bower" % "ng-swagger-ui" % "0.0.4"
[org.webjars.bower/ng-swagger-ui "0.0.4"]

Dependencies

compile (5)

Group / Artifact Type Version
org.webjars.bower : angular-sanitize jar [0,)
org.webjars.bower : angular jar [0,)
org.webjars.bower : showdown jar [0,)
org.webjars.bower : bootstrap jar [0,)
org.webjars.bower : angular-bootstrap jar [0,)

Project Modules

There are no modules declared in this project.

Modification

This fork is intended to make the swagger template customizable by externalizing the directive templates from the main js file.

##angular-swagger

This module provides a simple, minimal interface for reading Swagger documentation.

The interface is built using ordinary Bootstrap components, so you should find it very easy to theme and style.

Dependencies

This requires AngularJS. In addition, you will need:

Installation

  1. Install with bower using bower install ng-swagger-ui

  2. Include ng-swagger-ui.js, which should be located in bower_components/ng-swagger-ui

  3. Include bootstrap.min.css (which should be in bower_components/bootstrap/dist/css)

  4. Include ui-bootstrap-tpls.min.js (in bower_components/angular-bootstrap)

  5. Include showdown.js (in bower_components/showdown/compressed)

  6. Add angular-swagger as a module dependency to your app.

Usage

Simply create the following element

<swagger-apis url='path/to/swagger' />

where path/to/swagger is the location of your swagger documentation (usually /api-docs/)

Versions

Version
0.0.4