@exmg/exmg-swagger-client
v3.0.2
Published
Element for using Swagger 2.0 generated API
Downloads
7
Readme
exmg-swagger-client
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