Skip to content

ExmgElements/exmg-swagger-client

Repository files navigation

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

About

Element for using Swagger 2.0 generated API

Resources

License

Stars

Watchers

Forks

Packages

No packages published