api-security-documentation

WebJar for api-security-documentation

Лицензия

Лицензия

Категории

Категории

Безопасность CLI Взаимодействие с пользователем
Группа

Группа

org.webjars.bowergithub.advanced-rest-client
Идентификатор

Идентификатор

api-security-documentation
Последняя версия

Последняя версия

2.0.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

api-security-documentation
WebJar for api-security-documentation
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать api-security-documentation

Как подключить последнюю версию

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

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
org.webjars.bowergithub.advanced-rest-client : api-headers-document jar [2.0.1,3)
org.webjars.bowergithub.polymerelements : marked-element jar [2.4.0,3)
org.webjars.bowergithub.advanced-rest-client : api-parameters-document jar [2.0.1,3)
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.advanced-rest-client : raml-aware jar [2.0.0,3)
org.webjars.bowergithub.advanced-rest-client : api-responses-document jar [2.0.1,3)
org.webjars.bowergithub.advanced-rest-client : api-annotation-document jar [2.0.1,3)
org.webjars.bowergithub.advanced-rest-client : amf-helper-mixin jar [2.0.1,3)
org.webjars.bowergithub.polymerelements : iron-flex-layout jar [2.0.3,3)
org.webjars.bowergithub.advanced-rest-client : markdown-styles jar [2.0.2,3)

Модули Проекта

Данный проект не имеет модулей.

Published on NPM

Build Status

Published on webcomponents.org

<api-security-documentation>

Documentation view for AMF security model of an API.

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-security-documentation

The component requires to set 2 properties: amf and security. The amf property is the whole API model generated by the AMF parser. This property is used to resolve compact moodel's keys. The security property is the part of the API model describing security method. The shape type is http://a.ml/vocabularies/security#SecurityScheme.

In an html file

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

In a LitElement

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

class SampleElement extends PolymerElement {
  static get properties() {
    return {
      // AMF model for selected security
      security: { type: Object }
    };
  }
  render() {
    return html`
    <api-security-documentation .amf="${this.amf}" .security="${this.security}"></api-security-documentation>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Development

git clone https://github.com/advanced-rest-client/api-security-documentation
cd api-security-documentation
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)

Версии библиотеки

Версия
2.0.6