Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

I am trying to use your framework to test api with my specifications. but getting the error. #9

@neha30

Description

@neha30

I want to use your framework for testing my API. I have swagger specification file. I did some changes in your code but unable to test the API. Can you suggest me what changes I should perform to make the testing run. My specification file is shown below.

swagger: "2.0"

################################################################################

API Information

################################################################################
info:
version: "1.0.0"
title: API Documentation
description: "This documentation contain specifications of API which were used for getting the information from open data source"

produces:

  • application/json

################################################################################

Security

################################################################################

################################################################################

Paths

################################################################################
paths:
/opendata/v1/{index}:
get:
tags: [verification]
description: Verify the person information
parameters:
- name: index
in: path
description: specific data index
required: true
type: string
- name: name
in: query
description: name of a person
required: false
type: string
- name: company name
in: query
description: name of a company
required: false
type: string

  responses:
    '200':
      $ref: '#/responses/200'

################################################################################

Definitions

################################################################################

responses:
'200':
description: Success
schema:
type: object
properties:
verification:
type: boolean

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions