Skip to content

Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

License

Notifications You must be signed in to change notification settings

shashank734/swagger-ui

This branch is up to date with jensoleg/swagger-ui:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 11, 2016
Sep 30, 2016
Jul 11, 2016
Mar 29, 2015
Feb 1, 2015
Apr 17, 2015
Mar 17, 2015
Mar 25, 2015
Mar 23, 2015
Nov 26, 2014
Mar 26, 2015
Feb 26, 2015
Feb 5, 2015
Feb 1, 2015
May 14, 2016
Mar 4, 2015
Mar 29, 2015
Feb 21, 2014
May 4, 2016

Repository files navigation

Swagger UI responsive theme

With inspiration from the Auth0 api explorer the original Swagger UI repo is modified to use a responsive layout.

Swagger Theme example

The theme will adapt to screen size and works on tablets and mobile phones.

Swagger Theme example

A JSON editor for the request body (disabled by default).

Swagger JSON editor example

JSON editor configuration example:

                jsonEditor: true,
                jsonEditorOptions: {
                    disableProperties:false,
                    disableEditJson:false,
                    removeEmptyProperties:true,
                    noDefaultProperties:true
                },
                docExpansion: "none",
                sorter: "alpha",

Give it a try and enter your own swagger definition.

Disclaimer

This is not a fully polished implementation and should be used with care.

License

Copyright 2011-2015 Reverb technologies, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Swagger UI is a dependency-free collection of HTML, Javascript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 61.5%
  • JavaScript 35.5%
  • HTML 3.0%