modelina
modelina copied to clipboard
Swagger / OpenAPI input
Reason/Context
Please try answering few of those questions
- Why we need this improvement?
- Swagger / OpenAPI is very similar to AsyncAPI and also builds upon JSON Schema style model definitions
- How will this change help?
- Enable more types of conversions and a more complete toolchain for models of all types of sources.
Description
Please try answering few of those questions
- What changes have to be introduced?
- Probably the same that was needed to support AsyncAPI on top of JSON Schema
- Will this be a breaking change?
- Nope
- How could it be implemented/designed?
- Probably the same way that AsyncAPI was
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Just leaving this for later:
- OpenAPI 3.0.3 - superset of draft-wright-json-schema-00
- OpenAPI 3.1 - superset of 2020-12 draft
- Swagger 2.0 - superset of JSON Schema Specification Draft 4
@voxpelli do you by any chance have any Swagger/OpenAPI documents you can share, that I can test with? 🙂
Also, do you mind if I ping you, to review the features once they are complete?
@jonaslagoni Unfortunately nothing public, but I do remember the file I was looking at this time as being a Swagger 2.0 file, so #378 would solve it.
Please ping me when you want a review!
@voxpelli the PR is ready from our side to be merged, if you want to give your review, now is the time 😄 Let me know if you don't have time to review it, so we don't wait in vain 👍
I suggest to download the branch and adapt the example to fit your need - https://github.com/jonaslagoni/generator-model-sdk/tree/feature/swagger_new/examples/swagger2.0-from-object
:tada: This issue has been resolved in version 0.38.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Accidentally closed, as we still need to support OpenAPI 3.1, however, I will not focus on this in the near future, if anyone is up to the task, ping me if you want any help 🙂
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
Still relevant :)
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
Still relevant :)
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
still valid? @jonaslagoni @voxpelli
I guess this still holds true:
still need to support OpenAPI 3.1
But maybe better to add that as a new issue? To make it clearer?
Lets keep this closed and focus on https://github.com/asyncapi/modelina/issues/1749 🙂