#Swagger UI for Payload CMS

1 messages · Page 1 of 1 (latest)

wanton adder
#

Hi, i'm new to PayloadCMS, but isnt API the main point of this, we still use api so in Frontend we can do HTTP Request right

But Swagger doesnt seem to be well supported, this is weird isnt it
payload-swagger wasnt even updated to support PayloadCMS v3 for 2 years

and another lib payload-oapi does work but only for the json
i can't make the swagger ui to work (/api/docs) doesnt show the UI, only a response saying api route not found

slate leafBOT
wanton adder
#

fixed by leaving no option, just
swaggerUI({});

slate leafBOT
#

You do not have permission to mark this thread as solved. Only thread creators, contributors and payload team members can mark a thread as solved.