Skip to content

errors description should not be translating to default responses #165

Closed
@baywet

Description

@baywet

currently the conversion lib describes the errors for any operation as a default response.
This behavior makes it really hard to do anything useful during code generation.
It should instead be using 4XX and 5XX response classes, for more information see this thread.

Update the library to:

  • include a model for the standard odata error and inner error
  • add a convert setting to switch between default and 4xx/5xx response class descriptions (default false)
  • add the responses whenever that switch is set to true

Additional information
https://docs.microsoft.com/en-us/graph/errors

Metadata

Metadata

Assignees

Labels

fixedtype:enhancementEnhancement request targeting an existing experience.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions