api-elements.js icon indicating copy to clipboard operation
api-elements.js copied to clipboard

Ensure uniqueness of emitted API Element ids

Open tjanc opened this issue 6 years ago • 1 comments

API Element ids in general SHALL be unique in an API Elements document.

In OAS3, an example of a similar requirement is operationIds 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?

tjanc avatar Jan 04 '19 14:01 tjanc

  • [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)

kylef avatar Jan 22 '19 13:01 kylef