raml-org / api-modeling-framework

DEPRECATED - This project has been moved
https://github.com/aml-org/amf
Other
27 stars 11 forks source link

Playground: Check editors display data in proper format #41

Open postatum opened 7 years ago

postatum commented 7 years ago

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

postatum commented 7 years ago

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 commented 7 years ago

👓 43ccd3adac5142cd9ed7676a8e2d24fbd006933e

postatum commented 7 years ago

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.