Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to see the option to attach file in developer portal - OpenAPI Specs

On updating the below file in apigee integrated portal, in dev portal, it doesn't show option to attach a file while executing the API. The same swagger works in swaggerhub. Could someone please guide how the file could be attached from apigee integrated portal to execute the API. @dchiesa1 @dchiku @ani3 

 

openapi: 3.0.0
info:
  version: v1
  title: ''
  description: ''
paths: 
  /sample/fileimport:
    post:
      tags:
        - Sample
      
      summary: Sample
      description: Sample
      operationId: Sample
      requestBody:
        content:
          "multipart/form-data":
            schema:
              $ref: "#/components/schemas/Sample"
      responses:
        "204":
          description: OK
          content:
            application/json:
components:
  schemas:
    Sample:
      required:
        - file
      type: object
      properties:
        file:
          description: "abc"
          type: string
          format: binary        
servers:
  # Added by API Auto Mocking Plugin
  - description: SwaggerHub API Auto Mocking
    url: https://virtserver.swaggerhub.com/SampleAPI/v1
    

 

0 8 471
8 REPLIES 8