...
In the API Manager page, under the APIs & Proxies tab, click the add icon ( ) and choose New API.
In Create New API, choose the source of the OAS file.
Upload File. Click Choose File to specify the location of the specification file to upload.
Enter URL. Enter a valid URL pointing to the location of the specification file.
Click Continue.
In Create New API - Options, select your API Import Configurations.
Create Specification. If selected, the imported specification is included as a File Asset in the API.
Create Endpoints from Path. If selected, endpoints for the new API are created based on its path to one of the following:
Triggered Task: Choose to make the API endpoint a Triggered Task.
Ultra Task: Choose to make the API endpoint an Ultra Task.
Click Import and Continue.
In Create New API - Details, fill in the details for the new API.
General Info
Name (Title). The name of the new API.
The name must meet the following requirements:
Must be unique.
Must begin with alphanumeric characters A-Z, a-z, or 0-9.
Cannot contain the reserved keyword
shared
.Cannot contain |, <, >, [, ], {, }, #, ?, /, and \.
Must be no more than 256 characters. If the name includes double-byte characters, the maximum length is shorter.
Description. A description of the new API.
Version. The version number for the first version of the API.
Default: 1.0.
Learn more: Managing Versions of Your APIsTags. Enter any tags associated with your API. You can create the tags as required.
Endpoint Configuration » Path to Endpoint. (Read-only) The base path for the endpoint.
Server Configuration » Snaplex. The Snaplex to associate with the new API.
Click Create.
...
To allow API users to try out your API,
A CORS Restriction policy must be defined.
If the CORS Setting » Enable Try Me setting is selected in the Developer Portal settings, the default CORS Restriction policy is applied to all APIs in the Developer Portal.
Learn how to select the setting. You must be an Org Admin to modify the Developer Portal settings.If the CORS Setting » Enable Try Me setting is not selected or if you want to override the default CORS Restriction policy, you can add your own CORS Restriction policy to your API or API version.
Learn how to add and configure the CORS Restriction policy for "Try It Out".
The API must be published.
Learn how to publish your API.
...