-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
IotHub Swagger Specification #356
Conversation
Hi @rkmanda, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution! TTYL, AZPRBOT; |
@@ -0,0 +1,1712 @@ | |||
{ | |||
"swagger": "2.0", |
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.
indentation 2 spaces every where
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.
Just took the swashbuckler output and formatted using http://jsonlint.com/ . Will have to figure out how I can get the right indentations automatically
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.
@rkmanda - You might want to check this project https://github.com/Azure/swashbuckle-resource-provider that shows you how to plugin swashbuckle to your webapi, that provides the swagger spec in the way we desire.
@YuzorMa @yaqiyang would be the right people to ask questions for this tool if you are blocked.
"lockDurationAsIso8601": { | ||
"type": "string" | ||
}, | ||
"ttlAsIso8601": { |
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.
same as above
#363) * iothub swagger spec * iothub swagger spec * iothub swagger spec * Addressing Review Comments for IotHub swagger spec * addressing comments for iot hub swagger spec. Added descriptions, Addressed enums, Resource model, removed redundant descriptions, * Correcting the issue with travis-ci and adding more description * enhancing enums, restoring date-time format, adding a regex pattern for the iothub name * Addressing review comments * adding duration format check
This is the swagger spec for IoT Hub which was auto-generated using swashbuckle.