swagger2markup-extensions

A Swagger to Markup (AsciiDoc and Markdown) converter.

License

License

Categories

Categories

Swagger Program Interface REST Frameworks
GroupId

GroupId

io.github.swagger2markup
ArtifactId

ArtifactId

swagger2markup-import-files-ext
Last Version

Last Version

1.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

swagger2markup-extensions
A Swagger to Markup (AsciiDoc and Markdown) converter.
Project URL

Project URL

https://github.com/Swagger2Markup/swagger2markup
Source Code Management

Source Code Management

https://github.com/Swagger2Markup/swagger2markup.git

Download swagger2markup-import-files-ext

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.swagger2markup/swagger2markup-import-files-ext/ -->
<dependency>
    <groupId>io.github.swagger2markup</groupId>
    <artifactId>swagger2markup-import-files-ext</artifactId>
    <version>1.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.swagger2markup/swagger2markup-import-files-ext/
implementation 'io.github.swagger2markup:swagger2markup-import-files-ext:1.3.3'
// https://jarcasting.com/artifacts/io.github.swagger2markup/swagger2markup-import-files-ext/
implementation ("io.github.swagger2markup:swagger2markup-import-files-ext:1.3.3")
'io.github.swagger2markup:swagger2markup-import-files-ext:jar:1.3.3'
<dependency org="io.github.swagger2markup" name="swagger2markup-import-files-ext" rev="1.3.3">
  <artifact name="swagger2markup-import-files-ext" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.swagger2markup', module='swagger2markup-import-files-ext', version='1.3.3')
)
libraryDependencies += "io.github.swagger2markup" % "swagger2markup-import-files-ext" % "1.3.3"
[io.github.swagger2markup/swagger2markup-import-files-ext "1.3.3"]

Dependencies

compile (2)

Group / Artifact Type Version
io.github.swagger2markup : swagger2markup jar 1.3.3
io.github.swagger2markup : swagger2markup-extension-commons jar 1.3.3

Project Modules

There are no modules declared in this project.

Swagger2Markup

Build Status Coverage Status Codacy code quality download Apache License 2 Twitter Join%20Chat

Overview

Note
Dear community,
unfortunately I can’t maintain Swagger2Markup alone anymore. There are many interesting new topics:
1) Swagger v3 support
2) Fixing bugs
2) Merge Swagger2Markup repositories and create a new multi-module repository.
Any help is welcome.
Kind regards,
Robert

The primary goal of this project is to simplify the generation of an up-to-date RESTful API documentation by combining documentation that’s been hand-written with auto-generated API documentation produced by Swagger. The result is intended to be an up-to-date, easy-to-read, on- and offline user guide, comparable to GitHub’s API documentation. The output of Swagger2Markup can be used as an alternative to swagger-ui and can be served as static content.
NOTE: The Swagger Specification has been donated to to the Open API Initiative (OAI) and has been renamed to the OpenAPI Specification.

Swagger2Markup converts a Swagger JSON or YAML file into several AsciiDoc or GitHub Flavored Markdown documents which can be combined with hand-written documentation. The Swagger source file can be located locally or remotely via HTTP. Swagger2Markup supports the Swagger 1.2 and 2.0 specification. Internally it uses the official swagger-parser and my markup-document-builder.

You can use Swagger2Markup to convert your contract-first Swagger YAML file into a human-readable format and combine it with hand-written documentation. As an alternative, you can choose the code-first approach and use Swagger2Markup together with Swagger JAX-RS, springfox or spring-restdocs. If you are Gradle or Maven user, you can also use the Swagger2Markup Gradle Plugin or Swagger2markup Maven Plugin.

AsciiDoc is preferable to Markdown as it has more features. AsciiDoc is a text document format for writing documentation, articles, books, ebooks, slideshows, web pages and blogs. AsciiDoc files can be converted to HTML, PDF and EPUB. AsciiDoc is much better suited for describing public APIs than JavaDoc or Annotations.

You can generate your HTML5, PDF and EPUB documentation via asciidoctorj or even better via the asciidoctor-gradle-plugin or asciidoctor-maven-plugin.

The project requires at least JDK 8.

Example

Swagger2Markup
Swagger2Markup definitions

Contributing

Community contributions

Pull requests are welcome.

Questions

You can ask questions about Swagger2Markup in Gitter.

Bugs

If you believe you have found a bug, please take a moment to search the existing issues. If no one else has reported the problem, please open a new issue that describes the problem in detail and, ideally, includes a test that reproduces it.

Enhancements

If you’d like an enhancement to be made to Swagger2Markup, pull requests are most welcome. The source code is on GitHub. You may want to search the existing issues and pull requests to see if the enhancement is already being worked on. You may also want to open a new issue to discuss a possible enhancement before work on it begins.

Companies who use Swagger2Markup

License

Copyright 2015 Robert Winkler

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

http://www.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.

io.github.swagger2markup

Swagger2markup

A Swagger to AsciiDoc or Markdown converter to simplify the generation of an up-to-date RESTful API documentation (HTML, PDF).

Versions

Version
1.3.3
1.3.1
1.2.0