kogosoftwarellc / open-api

A Monorepo of various packages to power OpenAPI in node
MIT License
892 stars 235 forks source link

Add pathsobject v3 extension #748

Closed yordis closed 3 years ago

yordis commented 3 years ago

Note: This checklist isn't meant to show up on the actual Pull Request (PR). It is added here to make you aware of items our maintainers will look for when reviewing your PR. If your PR is missing any of these items it will be rejected! Please delete this message and the following checklist and replace it with your own message as you see fit.

yordis commented 3 years ago

@jsdevel hey mate, would you mind give me a hand with this PR? 🙏🏻

jsdevel commented 3 years ago

what is the purpose for this?

yordis commented 3 years ago

@jsdevel we have some custom extension at the PathItem level: https://github.com/straw-hat-team/openapi-web-sdk-generator/blob/0cf267c0a8582552d8fc98be1b9a6fb60a1a70ea/src/types.ts#L8-L12

So currently there is no way to extend PathItem without creating more aliases, I would like to do what Operation does https://github.com/kogosoftwarellc/open-api/blob/1b56b57bc6417f36aa8a6af1b83dcb9720113070/packages/openapi-types/index.ts#L122

yordis commented 3 years ago

Hey @jsdevel is this change release? I have the latest version and I don't see so I am just confirming, would appreciate it if you cut a release if you haven't 🙏🏻