Skip to content

api.apis.guru spec incorrect? #149

Description

@jonthegeek

I can't get the getAPI and getServiceAPI endpoints to work as documented. Do those endpoints still exist? A search of this org only finds them in the apis.guru openapi spec.

If they don't exist, that's fine, it would probably just be a good idea to update the apis.guru API spec itself. I think the real endpoints are /specs/{provider}/{version}/openapi.json and /specs/{provider}/{service}/{version}/openapi.json; I can't find an endpoint to get all versions for a particular provider and service. It's always possible that I'm not entering the correct thing for the api field of those endpoints and they work perfectly, but so far I haven't been able to figure it out. Although now I see those aren't universal; sometimes it's swagger.json (eg https://api.apis.guru/v2/specs/1forge.com/0.0.1/swagger.json). There's also /specs/{provider}/{version}.json and /specs/{provider}/{service}/{version}.json, but those basically just tell you where to go for the actual API (so those might be what these endpoints are intended to be).

I'm not sure where the endpoints are defined, or I'd attempt to PR. Let me know how I can help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions