-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
write query parameters to swagger definition #297
Conversation
"name": "map_value", | ||
"in": "query", | ||
"required": false, | ||
"type": "object" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
map values is hard to process in query parameter. (some WAF handles it in map_value[KEY]=VALUE
)
should we ignore it initially?
8a20710
to
1380e7f
Compare
1380e7f
to
4d81b7a
Compare
"ZERO", | ||
"ONE" | ||
], | ||
"default": "ZERO" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the default be ["ZERO"]? or maybe []?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. I unset default field.
Note that, swagger petstore example has the array parameter with default field.
I wonder what it means but in protobuf, it should be nil.
"parameters":[{"name":"status","in":"query","description":"Status values that need to be considered for filter","required":true,"type":"array","items":{"type":"string","enum":["available","pending","sold"],"default":"available"},"collectionFormat":"multi"}],
4d81b7a
to
28132c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Thanks so much for contributing. Can you comment to kick the CLA bot into gear?
There is a chance that the CLA bot can't handle the case where you're committing on top of someone else's work. If that happens, I will manually merge you from the CLI.
ping @googlebot |
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
+1, We need this feature, merge it please! |
@rgarcia, can you confirm a couple of things for me please before I merge this?
|
@achew22 1. yes 2. yes 3. yes 😄 |
Huh, foiled by the CLI bot. Even on the command line I can't push past this. @yugui can we change the CLAbot to being advisory or non-blocking or whatever github calls it? |
Should I re-push without rebase to avoid CLA bot fail? |
We could be really tricky and merge the other PR then this one quickly as not to break anyone, hopefully. I just sent an email to yugui (not @'d on purpose cause I just sent her an email) about modifying the submission rules. Let's see how that plays out. Meet back here in 24 hours? |
…eters write query parameters to swagger definition
It takes over from #199