kogosoftwarellc / open-api

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

openapi-types: adding support for openapi 3.1 #757

Closed wszydlak closed 3 years ago

wszydlak commented 3 years ago

According to:

I've prepared types for OpenApi 3.1 support. Don't know if we would like to keep OA 3.0 types, so i decided to keep under another namespace.

I've changed types mostly by extending types from OA 3.0, but in many cases there are some changes.

Looking for some feedback from You, I know this also need to write some tests (I will write as soon as possible, or maybe someone would like to help?)

wszydlak commented 3 years ago

I re-checked and made some changes. Also moved 3.0 namespace to nested namespace, so for old types we can use OpenAPIV3.V30.Document

I don't see any tests in openapi-types, so don't know how do we event want to test those types.

@jsdevel it would be nice if you could check this PR

wszydlak commented 3 years ago

@jsdevel any updates on this?

AhmedBHameed commented 3 years ago

@jsdevel I hope PR can pass through this time. We need to generate documentation from a specific version 3.1. Also, thanks @wszydlak for the nice effort.

jsdevel commented 3 years ago

@wszydlak can you update this with the latest from master? i had to migrate the build to github actions.

wszydlak commented 3 years ago

@wszydlak can you update this with the latest from master? i had to migrate the build to github actions.

@jsdevel Rebased :)

jsdevel commented 3 years ago

@wszydlak can you fix the build please?

wszydlak commented 3 years ago

@wszydlak can you fix the build please?

@jsdevel should now be passing

jsdevel commented 3 years ago

published as 9.2.0

wszydlak commented 3 years ago

@jsdevel would be nice to upgrade readme of openapi-types as well to include OpenAPIV3_1 types as well.

jsdevel commented 3 years ago

@wszydlak feel free to submit a PR!

wszydlak commented 3 years ago

@jsdevel #766