Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Playground: Check editors display data in proper format #41

Open
postatum opened this issue Apr 12, 2017 · 3 comments
Open

Playground: Check editors display data in proper format #41

postatum opened this issue Apr 12, 2017 · 3 comments
Labels

Comments

@postatum
Copy link
Contributor

After opening OpenAPI project, edit data in RAML or OpenAPI editor and make sure other tab displays data in proper format.

@postatum postatum added the bug label Apr 12, 2017
@postatum
Copy link
Contributor Author

Antonio Garrote
The error we saw was because a failure parsing that broke the JS logic, I think. If the API has links, we can only parse now modifications in the original language. If you try to edit in other language it will fail because the parser will blindly follow links and find the syntax in the original language instead of the target language.
Now you can only parse when parsing is not going to break things

@antoniogarrote
Copy link
Contributor

👓 43ccd3a

@postatum
Copy link
Contributor Author

Artem Kostiuk
@antonio.garrote regarding issues:
44(proxy) - not sure what I have to do about it. Is it just about defining JS_USE_PROXY in amf-playground if needed?
41(parsing error) - we already have a workaround and delay that for after Connect?
Antonio Garrote
Yes that's all. The variable is already added in the code of amf-playground, but is commented. See the last link in the issue. If you need to modify the request somehow (e.g adding headers) you can do it in the JS_REST function.

@postatum postatum changed the title Check editors display data in proper format Playground: Check editors display data in proper format Apr 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants