Skip to content

Comments

Adding indexing parameters to the swagger for Cognitive Search#10349

Merged
lmazuel merged 48 commits intoAzure:masterfrom
jennifermarsman:jennmar/indexerParameters
Sep 25, 2020
Merged

Adding indexing parameters to the swagger for Cognitive Search#10349
lmazuel merged 48 commits intoAzure:masterfrom
jennifermarsman:jennmar/indexerParameters

Conversation

@jennifermarsman
Copy link
Contributor

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

jennifermarsman and others added 30 commits March 4, 2020 21:13
… V2 SDK. These weren't referenced in the examples.
…to false for failOn* properties, and removed en-us locale from URL
Add swagger spec for indexer execution environment
Add swagger spec for indexer execution environment in 2 new API versions
@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-java - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

Trenton Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-python - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-js - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-go - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

azure-sdk-for-python-track2 - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 6, 2020

Azure CLI Extension Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jennifermarsman
Copy link
Contributor Author

This PR should replace #9900.

@jennifermarsman
Copy link
Contributor Author

The remaining BreakingChange errors are for "1034 - AddedRequiredProperty", but the properties added are all optional in a Configuration property bag.

@jennifermarsman jennifermarsman changed the title [NotReadyForReview] Adding indexing parameters to the swagger for Cognitive Search Adding indexing parameters to the swagger for Cognitive Search Aug 7, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Sep 11, 2020

azure-resource-manager-schemas - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

}
},
"description": "Represents parameters for indexer execution."
"description": "Represents parameters for indexer execution.",
Copy link
Member

Choose a reason for hiding this comment

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

Actually line 5790, but GitHub won't let me comment on surrounding code 😣: add a $ref to this model from configuration.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh sorry, I thought you wanted them completely decoupled by leaving the configuration's type as object.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will be a breaking change then, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in commit 8c52a20

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@heaths heaths left a comment

Choose a reason for hiding this comment

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

Looks good, as long as it doesn't generating any breaking change warnings with the service implementation.

@tjprescott
Copy link
Member

tjprescott commented Sep 14, 2020

Looks good, as long as it doesn't generating any breaking change warnings with the service implementation.

@heaths it looks like this is generating Breaking Change warnings.

Specifically, lots of added required properties.

@johanste
Copy link
Member

@tjprescott, I don't see any of the newly added properties being required. But it is Monday. Am I missing something?

@tjprescott
Copy link
Member

@tjprescott, I don't see any of the newly added properties being required. But it is Monday. Am I missing something?

True, I don't see any of them marked required, and they all seem to have defaults. @johanste who would be the right person to investigate this from the tooling side?

@johanste
Copy link
Member

@tjprescott, the openapihub has a teams support channel. I'd start there.

@lmazuel lmazuel merged commit d61b283 into Azure:master Sep 25, 2020
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.

7 participants