KaiZen-OpenAPI-Editor icon indicating copy to clipboard operation
KaiZen-OpenAPI-Editor copied to clipboard

Validation doesn't reflect most recent edits

Open tedepstein opened this issue 9 years ago • 1 comments

I've encountered an intermittent problem with validation, in SwagEdit, where it reports validation errors that are out of date. For example, where it didn't capture the last letter I typed. Saving the Swagger spec seems to clear this up.

It is not easily reproducible, but I will try to capture a screenshot and error log next time this happens.

tedepstein avatar Sep 23 '16 20:09 tedepstein

I haven't been able to reproduce this one, but I remember encountering it before. If this can be reproduce then it should be something related to the listener of document changes in the SwaggerEditor, see https://github.com/RepreZen/SwagEdit/blob/master/com.reprezen.swagedit/src/com/reprezen/swagedit/editor/SwaggerEditor.java#L105

ghillairet avatar Nov 08 '16 15:11 ghillairet