Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

athipp
Copy link
Contributor

@athipp athipp commented Sep 28, 2016

Adding validations to resourcegroupname and analysisservername

"in": "path",
"required": true,
"type": "string",
"pattern": "^[-\\w\\._]+$",
Copy link
Contributor

Choose a reason for hiding this comment

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

"pattern": "^[-\\w\\._\\(\\)]+$",

Copy link
Member

Choose a reason for hiding this comment

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

@amarzavery We should standardize this and make it part of good patterns/the skeleton Swagger file I'm working on.

Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to define commonly used model definitions and parameters in a common file and ask everyone to reference from there. That makes things consistent.

- regex for resource group
- "resourceType" is acutally just "type" and can be moved t base type
"resource"
- "serverAdministrators" is "asAdministrators"
@amarzavery amarzavery merged commit c0c9d63 into Azure:master Sep 28, 2016
@AutorestCI
Copy link

No modification for NodeJS

@AutorestCI
Copy link

No modification for Ruby

@AutorestCI
Copy link

No modification for Python

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.

5 participants