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

IotHub Swagger Specification #356

Closed
wants to merge 4 commits into from
Closed

IotHub Swagger Specification #356

wants to merge 4 commits into from

Conversation

rkmanda
Copy link
Member

@rkmanda rkmanda commented Jun 16, 2016

This is the swagger spec for IoT Hub which was auto-generated using swashbuckle.

@azurecla
Copy link

Hi @rkmanda, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

@@ -0,0 +1,1712 @@
{
"swagger": "2.0",
Copy link
Contributor

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

Copy link
Member Author

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

Copy link
Contributor

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": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@rkmanda rkmanda closed this Jun 21, 2016
amarzavery pushed a commit that referenced this pull request Jul 13, 2016
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants