bhtz / parse-server-swagger

parse server express middleware autogenerate api specs from parse server schemas
MIT License
12 stars 9 forks source link

Swagger error in parse 3.0 #1

Open lsxredrain opened 5 years ago

lsxredrain commented 5 years ago

Unable to render this definition The provided definition does not specify a valid version field.

Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.0.n (for example, openapi: 3.0.0).

bhtz commented 5 years ago

Hi, correct ! This is still a work in progress.

the objective is to render a openAPI 3.X specification with swagger rendering.

suathh commented 5 years ago

Same here in same time :) This repo looks great

Parser error on line 13
end of the stream or a document separator is expected

Unable to render this definition The provided definition does not specify a valid version field.

Please indicate a valid Swagger or OpenAPI version field. Supported version fields are swagger: "2.0" and those that match openapi: 3.0.n (for example, openapi: 3.0.0).

WahdanZ commented 5 years ago

I have the same problem

boristomas commented 5 years ago

and? how to fix that? It happens with default installation.

brunoMaurice commented 5 years ago

The readme have a wrong option setup parsePath should be apiRoot and the problem is solve.

shb7628 commented 2 years ago

i still haven't gotten this working. any suggestions? this is supposed to generate a swagger document by querying the parse server, correct?