3.0.2 • Published 6 years ago

@exmg/exmg-swagger-client v3.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

exmg-swagger-client Build Status

Element for using Swagger 2.0 generated API

Example:

<exmg-swagger-client-config
  swagger-url="http://petstore.swagger.io/v2/swagger.json">
</exmg-swagger-client-config>

<exmg-swagger-client
  api="pet"
  operation-id="getPet"
  params='{petId:'324421445'}'
  last-response="{{response}}"
  last-error="{{error}}"
  auto></exmg-swagger-client>

Please visit the API Documentation and demo page for more information.

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve