apache / incubator-answer

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
https://answer.apache.org
Apache License 2.0
12.61k stars 955 forks source link

v1.4.0 Error swagger config #1117

Closed AllinProgram closed 2 hours ago

AllinProgram commented 4 hours ago

Describe the bug

https://github.com/apache/incubator-answer/blob/8e6fa13c72dae18b8c516bf349928f9d3109988c/docs/swagger.yaml#L2914

title should not add "". It make api doc can not be parse.

To Reproduce

  1. purge to install v1.4.0 by docker.
  2. open doc
  3. you will see two double quotes, error to parse json.

Expected behavior

Nan

Screenshots

image

Platform

Nan

AllinProgram commented 4 hours ago

If you confirm this is an obvious issue, I'd be very inclined to submit a PR.

sy-records commented 2 hours ago

The dev branch has been fixed, I'm not sure it needs to be re-released for v1.4.0. cc @robinv8 https://github.com/apache/incubator-answer/blob/48c238785359238d1ed278dd0921476d4ebd4c66/docs/swagger.yaml#L2913-L2914

AllinProgram commented 2 hours ago

@sy-records Thanks, I got it. Hope to release it soon, thank you for your efforts.