jlane9/mockerena

View on GitHub
mockerena/swagger/custom_schema.yml

Summary

Maintainability
Test Coverage
Generates sample data for a provided schema
---
parameters:
  - name: schema
    in: body
    required: true
    description: Schema for provider and integration
    schema:
      $ref: "#/definitions/schema"
  - $ref: "#/parameters/seed"
  - $ref: "#/parameters/num_rows"
  - $ref: "#/parameters/file_format"
  - $ref: "#/parameters/include_header"
  - $ref: "#/parameters/exclude_null"
responses:
  200:
    description: OK
    content:
        application/binary:
          schema:
            type: string
            format: binary
  301:
    $ref: "#/responses/movedPermanently"
  500:
    $ref: "#/responses/internalServerError"
tags:
  - generate