-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Hi.
I have some trouble trying to manipulate the OpenAPI spec as my convenience.
With data models 1.1.27 I could use it like this:
document.info.removeExtension("x-custom-field");
document.info.addExtraProperty("x-custom-field", LocalDateTime.now().toString());
and it worked. I add/remove extensions because I need to.
But now in 2.0.4 this is impossible, I tried
document.getInfo() but removeExtension doesn't exist anymore. Neither, there is no getExtensions() method. Add and remove extra properties is not related with extensions anymore and there is no chance to work with them.
Is there a way to work with extensions with Data Models 2.0.4?
Kind regards.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels