Overlays Meeting (2024-07-02) #40
Replies: 4 comments
-
First meeting in over 2 years, we chatted a bit about use cases and possible next steps for the overlays specification. I'll attempt to get some of the key points down here for anyone who is interested but wasn't able to attend. One topic per comment since discussions have threads. |
Beta Was this translation helpful? Give feedback.
-
We discussed some clear use cases, particularly where OpenAPI descriptions are generated from code, where it is impractical or just annoying to create and maintain some parts of the API description. There are some existing solutions in this space, in terms of some JSON merge tooling, Redocly decorators, and a few other alternatives. |
Beta Was this translation helpful? Give feedback.
-
We talked about the current approach of using generic structure-based manipulation with JSON Path, in comparison to a more semantic manipulation where we could, for example, identify all parameter or operation types that match certain criteria (without matching a property named "properties" or "items"!). We considered whether a simple approach could be to combine overlays with a normalisation tool, so that schemas only exist under We considered whether, without dictating the data structure that the OpenAPI description must be parsed into, we could offer some more friendly selector syntax for finding nodes. Whether a parameter is declared in an operation, or under |
Beta Was this translation helpful? Give feedback.
-
On the basis of the current status of the Overlays Specification: We have identified that the existing remove/update action types can be limiting. There's an open pull request to switch to remove/replace/add - but it would be a breaking change. A likely next step is to release the current specification as 1.0.0 and consider what other changes we want to make before pushing a big change with a clear version number increment (if we follow semantic versioning I think changing keywords this much means doing a 2.0.0). |
Beta Was this translation helpful? Give feedback.
-
Restarting the meetings this week. Any agenda items, please add a comment.
This meeting falls under the OpenAPI code of conduct.
Beta Was this translation helpful? Give feedback.
All reactions