-
Notifications
You must be signed in to change notification settings - Fork 93
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
Swagger lack of some meta parameters #922
Comments
I'm not sure how that decorator is supposed to work, but there seems to be additional properties in the |
Sure,
If I open swagger documentation in browser then it shows that indeed totalItems is in response But when I am generating client from openapi.yaml some properties are missing from generated client and only 2 of them are shown filter and select. Quick workaround for that for me right now is that I have taken your decorator and added missing property by hand
Below is part of openapi.yaml that is generated automatically when decorator from you package is used. Based on this file I am generating typescript-fetch client.
|
Hmm thanks for you detailed report. Do you think you could create a quick repository with some steps for me to follow to generate the same things you're speaking of? That way I can follow the steps and make changes to arrive at the same outcome as your workaround! @vsamofal what do you think is going wrong here? |
I didn't get an issue tbh, as far as I understand swagger UI looks ok, but your code that exports Swagger and generates a client, doesn't generate a proper one. ? if yes, can you download a spec file from swagger UI and compare it |
Closing due to lack of reproducer and author response. Feel free to reopen so we can pick this back up :) |
Hi,
I am wondering why Swagger is missing some of the parameters from meta property. In decorator there are only 2 properties in meta object defined. I am using OpenAPI generator to generate client so those are missing in a client definition.
Swagger decorator
The text was updated successfully, but these errors were encountered: