Skip to content

handle auth errors, add enum models, and enrich comments

Pre-release
Pre-release

Choose a tag to compare

@crhistianramirez crhistianramirez released this 23 Mar 16:20

New Features(s) ✨

  • Add better comments to operations for better developer experiences. Includes summary, description, and link to api reference for the specific operation. If the IDE supports it (like vscode) you'll also see this information as you're typing.
  • Add enum models. These were previously "inline" enums that were referenced as properties of another model. Now these models exist and can be imported on their own. This includes ApiRole and OrderDirection to name a few

Bug Fixes 🐛

  • update OrderCloudError to handle auth errors. The schema for these types of errors is slightly different and wasn't being handled correctly. Now you can get the message and errors from the exception just like you can for API errors.