api-documentation-document

WebJar for api-documentation-document

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.webjars.bowergithub.advanced-rest-client
ArtifactId

ArtifactId

api-documentation-document
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

api-documentation-document
WebJar for api-documentation-document
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/advanced-rest-client/api-documentation-document

Download api-documentation-document

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/api-documentation-document/ -->
<dependency>
    <groupId>org.webjars.bowergithub.advanced-rest-client</groupId>
    <artifactId>api-documentation-document</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/api-documentation-document/
implementation 'org.webjars.bowergithub.advanced-rest-client:api-documentation-document:2.0.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.advanced-rest-client/api-documentation-document/
implementation ("org.webjars.bowergithub.advanced-rest-client:api-documentation-document:2.0.1")
'org.webjars.bowergithub.advanced-rest-client:api-documentation-document:jar:2.0.1'
<dependency org="org.webjars.bowergithub.advanced-rest-client" name="api-documentation-document" rev="2.0.1">
  <artifact name="api-documentation-document" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.advanced-rest-client', module='api-documentation-document', version='2.0.1')
)
libraryDependencies += "org.webjars.bowergithub.advanced-rest-client" % "api-documentation-document" % "2.0.1"
[org.webjars.bowergithub.advanced-rest-client/api-documentation-document "2.0.1"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : marked-element jar [2.4.0,3)
org.webjars.bowergithub.advanced-rest-client : markdown-styles jar [2.0.2,3)
org.webjars.bowergithub.advanced-rest-client : amf-helper-mixin jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

Published on NPM

Build Status

Published on webcomponents.org

api-documentation-document

A component to render documentation node of the AMF model

<api-documentation-document amf="{...}" shape="{...}"></api-documentation-document>

Version compatibility

This version only works with AMF model version 2 (AMF parser >= 4.0.0). For compatibility with previous model version use 3.x.x version of the component.

Usage

Installation

npm install --save @api-components/api-documentation-document

In an html file

<html>
  <head>
    <script type="module">
      import '@api-components/api-documentation-document/api-documentation-document.js';
    </script>
  </head>
  <body>
    <api-documentation-document></api-documentation-document>
  </body>
</html>

In a LitElement

import { LitElement, html } from 'lit-element';
import '@api-components/api-documentation-document/api-documentation-document.js';

class SampleElement extends PolymerElement {
  render() {
    return html`
    <api-documentation-document .amf="${this.amf}"></api-documentation-document>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/api-documentation-document
cd api-documentation-document
npm install

Running the demo locally

npm start

Running the tests

npm test

API components

This components is a part of API components ecosystem

org.webjars.bowergithub.advanced-rest-client

ARC

A set of repositories related to the Advanced REST Client and API console (by Mulesoft)

Versions

Version
2.0.1