-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect validation marker location #32
Milestone
Comments
Similar with this model: swagger: "2.0"
info:
description: "Tax Blaster"
version: "1.0.0"
title: "TaxBlaster"
host: "taxblaster.com"
basePath: "/api"
tags:
- name: "TaxFilingObject"
description: "An individual Tax Filing record, accessed by its ID"
schemes:
- "http"
paths:
/taxFilings/{id}:
get:
tags:
- "TaxFilingObject"
description: ""
operationId: "getTaxFiling"
consumes:
- "application/json"
produces:
- "application/json"
parameters:
- name: "id"
in: "path"
description: "filingID of the requested TaxFiling"
required: true
type: "string"
responses:
200:
description: ""
schema:
$ref: ""
404:
description: ""
put:
description: ""
parameters:
- name: "id"
in: "path"
description: "filingID of the requested TaxFiling"
required: true
type: "string"
definitions:
TaxFilingObject:
type: "object"
description: "An individual Tax Filing record, accessed by its ID"
properties:
filingID:
type: "string"
jurisdiction:
type: "string"
year:
type: "string"
period:
type: "integer"
currency:
type: "string"
grossIncome:
type: "number"
taxLiability:
type: "number"
taxpayer:
type: "object" It's very difficult to find the real source of the problem PS In this case the problems is in the |
We can start with adding tests for these cases. And then fix them. |
ghillairet
added a commit
that referenced
this issue
Dec 3, 2015
ghillairet
added a commit
that referenced
this issue
Dec 4, 2015
tfesenko
added a commit
that referenced
this issue
Dec 4, 2015
[#32] Incorrent validation marker location
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Take this model and try to find what's wrong with it.
![screen shot 2015-12-02 at 6 03 57 pm](https://cloud.githubusercontent.com/assets/644582/11547054/1ac74ba6-991f-11e5-81e9-5bacfd50f5fb.png)
The validation marker points to line 14:
However, the error (the only error) is on line 33 -
schema:
which missing the$ref
.Model:
The text was updated successfully, but these errors were encountered: