Skip to main content

Publish the API Specification

Now that the API specification works without errors, let’s publish it! Publishing enables you and anyone with valid privileges to read and use it. 

First, go back to the Mocking Service Configuration, and in the Service Settings click the blue slider with the check mark in the Make Public section to deactivate the mocking service.

Next, follow these steps to publish your API specification.

  1. Click Publish.
    Design Center screen with arrow pointing to Publish button.
  2. In the dialog box, enter the following values.
    • Asset version: 1.0.0
    • API version: Leave as is
      Note: v1.0 appears because it was already specified in the RAML code you’re about to publish.
  3. Click Publish to Exchange.
    Publish to Exchange dialog box with fields for Asset version, API version, LifeCycle State picklist, and Publish to Exchange button.

You did it! You built, tested, and shared your API specification on MuleSoft’s Anypoint Platform.

無料で学習を続けましょう!
続けるにはアカウントにサインアップしてください。
サインアップすると次のような機能が利用できるようになります。
  • 各自のキャリア目標に合わせてパーソナライズされたおすすめが表示される
  • ハンズオン Challenge やテストでスキルを練習できる
  • 進捗状況を追跡して上司と共有できる
  • メンターやキャリアチャンスと繋がることができる