api-elements.js
api-elements.js copied to clipboard
Ensure uniqueness of emitted API Element ids
API Element ids in general SHALL be unique in an API Elements document.
In OAS3, an example of a similar requirement is operationId
s to be unique in the context of an API description.
I imagine a factory function for API Element ids; maybe such functionality belongs to minim?
- [x] operationId
- [ ] Component Schema ID (https://github.com/apiaryio/api-elements.js/blob/5958d1af68a9a5e94e8d807576014aefbb7e0572/packages/fury-adapter-oas3-parser/lib/parser/oas/parseComponentsObject.js#L38)