Skip to content

support swagger resource provider with multiple readme files - #440

Merged
kai ru (kairu-ms) merged 2 commits into
Azure:devfrom
kairu-ms:rp-support-multiple-readme-files
Dec 27, 2024
Merged

kai ru (kairu-ms) merged 2 commits into
Azure:devfrom
kairu-ms:rp-support-multiple-readme-files

Conversation

@kairu-ms

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (2)

src/aaz_dev/swagger/model/specs/_resource_provider.py:19

  • [nitpick] The variable name readme_paths could be more descriptive. Consider renaming it to readme_file_paths.
def __init__(self, name, folder_path, readme_paths, swagger_module):

src/aaz_dev/swagger/model/specs/_resource_provider.py:110

  • The error message could be more descriptive by including the specific readme file path that caused the error.
logger.error(f'ParseYamlFailed: {self} : {readme_path} {flags}: {err}')

Comment thread src/aaz_dev/utils/readme_helper.py Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kairu-ms
kai ru (kairu-ms) merged commit e68bf99 into Azure:dev Dec 27, 2024
@kairu-ms kai ru (kairu-ms) mentioned this pull request Feb 27, 2025
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