Try WSO2 Cloud for Free
Sign in

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to the API Cloud and the API Publisher will open automatically. Start creating an API by selecting Design new API and clicking Start Creating.

  2. In API Definition click Import to import all the associated methods and parameters. 
  3. In the dialog box that appears, select Swagger URL. Paste the URL given below and click Import.
    Sample URL : https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-simple.json
    The fields above should be automatically filled.
  4. Fill any empty fields with the information in the table below.

    FieldSample Value
    NamePetStoreAPI
    Context/petstore
    Version1.0.0
    VisibilityPublic
  5. Continue on to the Manage section to edit, save and/or publish the API. 

Create a new API using

...

an existing API definition

If you already have an existing API you can use the Swagger definition to replicate it.

...