3.0.0 • Published 5 years ago

@api-components/raml-aware v3.0.0

Weekly downloads
613
License
Apache-2.0
Repository
github
Last release
5 years ago

Build Status

Published on webcomponents.org

raml-aware

<raml-aware> Element that is aware of the AMF (RAML, OAS) content.

<h3>Basic authorization</h3>
<raml-aware raml='{"scope": "request"}' scope="request"></raml-aware>
<raml-aware raml='{"scope": "import"}' scope="import"></raml-aware>

<raml-aware id="a1" scope="request"></raml-aware>
<raml-aware id="a2" scope="import"></raml-aware>
<output id="o1"></output>
<script>
o1.innerText = JSON.stringify(a1.raml) + '<br/>';
o1.innerText += JSON.stringify(a2.raml);
</script>

API components

This components is a part of API components ecosystem: https://elements.advancedrestclient.com/