Nexmo / oas_parser

An open source Open API Spec 3 Definition Parser
MIT License
51 stars 16 forks source link

Parsing the `tags` field of the root OpenAPI document #54

Closed j-a-m-l closed 3 years ago

j-a-m-l commented 3 years ago

As specified on version 3.03, an array of Tag objects, the tags field could be used on the root document object.

Currently, this field is completely ignored.

In case you're interested, I wouldn't mind to implement it myself.

mheap commented 3 years ago

Hey @j-a-m-l!

You can access the tags using OasParser::Definition.raw['tags'] if you need access right now, but we'd also love a PR to add an actual object to help access them