Skip to content

Conversation

@markdennis22
Copy link
Contributor

Summary

  • Added notes field to the company schema in the OpenAPI specification
  • Updated example responses to include the notes field for company endpoints
  • Following the same pattern as contact_notes for consistency

Changes

  • Added notes field to company schema with properties:
    • type: "note.list"
    • data: array of addressable_list items representing note references
    • url: URL to fetch all notes for the company
    • total_count: total number of notes
    • has_more: pagination indicator
  • Updated example responses for:
    • POST /companies endpoint
    • GET /companies/{id} endpoint

Test plan

  • Verify OpenAPI spec validates correctly
  • Check that the notes field structure matches the actual API response
  • Ensure consistency with contact_notes implementation

🤖 Generated with Claude Code

@markdennis22
Copy link
Contributor Author

@claude review this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants