Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

preview is not working #217

Open
bendavis78 opened this issue Nov 29, 2022 · 2 comments
Open

preview is not working #217

bendavis78 opened this issue Nov 29, 2022 · 2 comments

Comments

@bendavis78
Copy link

bendavis78 commented Nov 29, 2022

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
Copy link
Contributor

abtris commented Dec 6, 2022

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
Copy link
Contributor

abtris commented Dec 6, 2022

Duplicate #214

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants