swaggo / swag

Automatically generate RESTful API documentation with Swagger 2.0 for Go.
MIT License
10.4k stars 1.18k forks source link

swagger-ui Parser error on line 13 end of the stream or a document separator is expected #1783

Open typzzh opened 4 months ago

typzzh commented 4 months ago

image

JXW216 commented 3 months ago

Having the same issue. Works locally but fails in docker. Pulling the Swashbuckle generated swagger.json file shows two lines that have String instead of string and it's complaining about the casing in validation. Swashbuckle continues to generate it that way though.