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

Generating latest client logs errors #2537

Closed
Balkoth opened this issue Jun 7, 2024 · 3 comments
Closed

Generating latest client logs errors #2537

Balkoth opened this issue Jun 7, 2024 · 3 comments
Labels

Comments

@Balkoth
Copy link

Balkoth commented Jun 7, 2024

Describe the bug

fail: Kiota.Builder.KiotaBuilder[0]
      OpenAPI error: #/paths/~1identity~1authenticationEventsFlows~1{authenticationEventsFlow-id}~1graph.externalUsersSelfServiceSignUpEventsFlow~1onAttributeCollection~1graph.onAttributeCollectionExternalUsersSelfServiceSignUp/get/responses/2XX/description - The field 'description' in 'response' object is REQUIRED.
fail: Kiota.Builder.KiotaBuilder[0]
      OpenAPI error: #/paths/~1identity~1authenticationEventsFlows~1{authenticationEventsFlow-id}~1graph.externalUsersSelfServiceSignUpEventsFlow~1onAuthenticationMethodLoadStart~1graph.onAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp/get/responses/2XX/description - The field 'description' in 'response' object is REQUIRED.

Expected behavior

No errors.

How to reproduce

Generate Graph client with latest kiota bits.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
@Balkoth Balkoth added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Jun 7, 2024
@andrueastman
Copy link
Member

Thanks for raising this @Balkoth

Just to confirm, do the errors prevent the generation of a client? Or is the client still generated?
I believe the errors generated are from the Open API parsing library which suggests an issue with the graph metadata or metadata conversion tool.

@andrueastman andrueastman added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Jun 7, 2024
@Balkoth
Copy link
Author

Balkoth commented Jun 7, 2024

The client is generated. Doesn't this occur here too? Did no one notice this in the log?

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs: Attention 👋 and removed status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close labels Jun 7, 2024
@andrueastman
Copy link
Member

Related to microsoftgraph/msgraph-metadata#646 and microsoft/OpenAPI.NET.OData#546

Closing this one for now as this was resolved via microsoft/OpenAPI.NET.OData#547

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants