Importing APIs

Last updated: 2020-09-04 15:42:45

    Example of Importing APIs in the YAML Format

    openapi: 3.0.0
    info:
      description: importMockAPI
      version: "1.0.0"
      title: Mock API
    paths:
      /mock:
        get:
          description: Import Mock API Test
          operationId: importMockAPI
          responses:
            '200':
              description: Import Mock API Test

    Example of Importing APIs in the JSON Format

    {
      "openapi": "3.0.0",
      "info": {
        "description": "importMockAPI",
        "version": "1.0.0",
        "title": "Mock API"
      },
      "paths": {
        "/mock": {
          "get": {
            "description": "Import Mock API Test",
            "operationId": "importMockAPI",
            "responses": {
              "200": {
                "description": "Import Mock API Test"
              }
            }
          }
        }
      }
    }

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help