Skip to content

Response Parsers #64

Closed as duplicate
Closed as duplicate

Description

@jonthegeek

Paths contain responses. When 200 responses are available, use those to define a parser function. Specs might (probably will) be repeated, so refine to just one copy of each. Names will have to be semi-random for now; I think we lose all of the info that might have been useful for naming during the tibblify step. Consider eliminating "boilerplate" parts that are present in all/many specs (like pagination info). I think I should include the specs literally, rather than as data, so it's easier for the package maintainer to tweak them (eg, to make things optional). Speaking of, provide lots of help around this; a useful first step is to set things to optional if some things fail (or if it's obvious that those parts won't be present in every response).

Path functions will specify the parser that they use. Even if a parser is only used by one function, define it on its own.

We might end up with a parser for every function. That's ok.

Activity

  1. jonthegeek commented on May 13, 2026

    @jonthegeek
    CollaboratorAuthor

    tibblify::parse_openapi_spec() returns these. This theoretically should be straightforward. Don't worry about the reusable components for this ticket; we'll handle that in tibblify first in any case.

  2. added
    slack
    on May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    responsesslack

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions