apinf / openapi-designer

Design interface for creating Open API (Swagger) specification files
https://openapi.design
MIT License
68 stars 18 forks source link

Data storage overlap #330

Open xylix opened 7 years ago

xylix commented 7 years ago

When reviewing apinf/platform#2787 platform devs @matleppa and @marla-singer found an issue when trying to use multiple instances of OpenAPI designer under the same domain. They shared their data, even though user expected every "instance" of OpenAPI designer to have their own form data.

tulir commented 7 years ago

Changing this from within OpenAPI designer would be quite difficult. OpenAPI designer currently has no idea about the state of the wrapper, so those different instances are actually all the same (since it's the same domain). It's much easier to have the wrapper tell designer what data to display (related: #327)