Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple type issues #101

Open
pluto-dev opened this issue May 7, 2023 · 1 comment
Open

Multiple type issues #101

pluto-dev opened this issue May 7, 2023 · 1 comment
Assignees

Comments

@pluto-dev
Copy link

I compiled a list with multiple issues of the same kind where the type is not matching the description or more serious, where the type alternates. There might be more, but these are the ones my tests found.

  • According to the /episodes/byid schema, the "id" on the response has the type integer, but it's a string. I have not found one where the id is an int.
    Examples:
    id is string

  • According to the /episodes/byguid schema the "id" is of type string but it can alternate between integer or string.
    Examples:
    id is string
    id is int

  • According to the /episodes/live schema the "max" property is of type integer but it seems like it's of type string.
    Example:
    max is string

  • According to the /episodes/random schema the "max" property is of type integer but it seems like it can be also of type string.
    Examples:
    max is string - Notice, I have specified "max" and the type changed.
    max is int

  • According to the /recent/episodes schema the "max" property is of type integer but it seems like it's of type string. I couldn't find an example where "max" is of type int.
    Example:
    max is string

  • According to the /recent/data schema the "max" property is of type integer but it seems like it can be also of type string.
    Examples:
    max is string - Notice, I have specified "max" and the type changed.
    max is int

  • According to the /recent/feeds schema the "max" property is of type integer but it seems like it's of type string and also be of type null. I couldn't find an example where "max is of type int.
    Examples:
    max is null
    max is string

  • According to the /recent/newfeeds schema the "max" property is of type integer but it seems like it's of type string. I couldn't find an example where "max is of type int.
    Example:
    max is string

  • According to the /podcasts/byguid schema the "query.id" property is of type string but it seems like it's of type integer. It just seems that the schema description is incorrect.
    Example:
    https://api.podcastindex.org/api/1.0/podcasts/byguid?guid=9b024349-ccf0-5f69-a609-6b82873eab3c&pretty

@stevencrader
Copy link
Collaborator

Dave will need to fix any response issues. I can fix the documentation as needed.

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

No branches or pull requests

3 participants