Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current version of kin-openapi does not have openapi3.Swagger type #1

Open
kishaningithub opened this issue Jul 14, 2021 · 7 comments
Labels

Comments

@kishaningithub
Copy link

Current version of github.com/getkin/kin-openapi/openapi which is v0.66.0 does not have openapi3.Swagger type

It would be great if your blog and this repo can be updated in line with the latest version

Also have linked your blog here

@kishaningithub
Copy link
Author

kishaningithub commented Jul 14, 2021

As per this https://github.com/getkin/kin-openapi#v0610

openapi3.Swagger has been renamed to openapi3.T

@kishaningithub
Copy link
Author

Also i feel the example can use openapi3gen.NewSchemaRefForValue to auto generate schemas from go structs

https://pkg.go.dev/github.com/getkin/[email protected]/openapi3gen#example-package

@MarioCarrion
Copy link
Owner

Thanks @kishaningithub I'll take a look

MarioCarrion added a commit that referenced this issue Aug 6, 2021
@kishaningithub
Copy link
Author

#1 (comment)

I hope this would also be addressed ☺️☺️

@MarioCarrion
Copy link
Owner

Yes, I'm still reading the new changes to see how the code can be updated to use that new package, I'm reopening this issue so I don't forget.

@MarioCarrion MarioCarrion reopened this Aug 8, 2021
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the Stale label May 16, 2024
@kishaningithub
Copy link
Author

Not stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants