connexion-example
connexion-example copied to clipboard
I am trying to use your framework to test api with my specifications. but getting the error.
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