Page MenuHomePhabricator

PCS summary Swagger doc using the wrong source
Closed, InvalidPublic

Description

The summary endpoint for PCS overrides the identical route in RESTBase. Somehow that seems to go wrong for Swagger: compare the description in the PCS spec with the one in RESTBase and with the actual Swagger UI text (but it doesn't quite match the RESTBase spec either, the response version is 1.2.0 in the RESTBase spec, 1.3.9 in the PCS spec, and 1.3.7 in Swagger... so maybe there's a third source?)

Event Timeline

Tgr created this task.Jan 17 2019, 2:59 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
bearND added a subscriber: bearND.Jan 17 2019, 3:02 AM

The Swagger UI is taken from RB. The one for 1.3.0 and later is summary_new.yaml. The summary.yaml file in RB is for 1.2.0.

Tgr added a comment.Jan 17 2019, 7:09 AM

I see, thanks. I did a search for some of the strings but apparently messed up. I assumed there's some kind of Swagger spec redirection going on.

@Tgr The search probably failed because the string had line breaks in the source.

Tgr closed this task as Invalid.Jan 18 2019, 1:37 AM