api-schema-document

WebJar for api-schema-document

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

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

ArtifactId

api-schema-document
Last Version

Last Version

2.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

api-schema-document
WebJar for api-schema-document
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download api-schema-document

How to add to project

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

Dependencies

compile (6)

Group / Artifact Type Version
org.webjars.bowergithub.polymerelements : paper-tabs jar [2.1.0,3)
org.webjars.bowergithub.advanced-rest-client : amf-helper-mixin jar [2.0.1,3)
org.webjars.bowergithub.polymerelements : iron-pages jar [2.1.0,3)
org.webjars.bowergithub.advanced-rest-client : raml-aware jar [2.0.0,3)
org.webjars.bowergithub.polymerelements : prism-element jar [2.1.0,3)
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)

Project Modules

There are no modules declared in this project.

api-schema-document

A component to render XML/JSON schema with examples for an API model.

Published on NPM

Tests and publishing

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-schema-document

In an html file

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

In a LitElement

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

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

Development

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

Running the demo locally

npm start

Running the tests

npm test
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.7