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

@markdennis22 markdennis22 force-pushed the show-notes-in-companies-api-response branch from d41345d to ec09a5b Compare September 29, 2025 17:14
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.

1 participant