-
Notifications
You must be signed in to change notification settings - Fork 90
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
Can't use reponses other than 'default' #14
Comments
It is careless of me to leave such mistake, that also means I didn't write enough test cases. Another fix would be done later. |
btw, if possible, could you also provide a sample swagger.json you are working on for me to reference? |
I’ll have to reconstruct it (I ditched it during development), so I’ll send it later From: mission.liao [mailto:[email protected]] btw, if possible, could you also provide a sample swagger.json you are working on for me to reference? — Reply to this email directly or view it on GitHub #14 (comment) .Intel Technology Poland sp. z o.o. Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek |
Thanks, I just updated a hotfix to pypi for this issue and another one you reported. |
I see now it's fixed. Thanks for quick response. |
Responses other than 'default' are never selected by pyswagger.
After looking into code I realized you use returned status (int) as lookup, but schema is parsed from json, so keys in responses dict are strings. In json you can have only strings as keys.
The text was updated successfully, but these errors were encountered: