apiaryio / apiary-client

Apiary CLI client
https://help.apiary.io/tools/apiary-cli/
MIT License
204 stars 70 forks source link

preview is not working #217

Open bendavis78 opened 1 year ago

bendavis78 commented 1 year ago

When I run apiary preview --path=./docs/myapi.apib --server, the resulting page is empty. It shows a basic interface frame but no API info.

A quick look at js console shows the following URL returning a 404:

https://jsapi.apiary.io/user?_=1669685631526 

I have APIARY_API_KEY set in the environment.

When I open that URL in a browser, I get a proper response. However loading that from localhost:8080 causes the 404.

abtris commented 1 year ago

Hi, that is correlated with the issue about rack 3.0 #215

This works, I try push for publish last changes about rack dependency.

bundle exec ./bin/apiary preview --path=./spec/fixtures/apiary.apib --server
abtris commented 1 year ago

Duplicate #214