Skip to content

Conversation

pdowler
Copy link
Collaborator

@pdowler pdowler commented Nov 13, 2024

This describes a TAP-1.1 compatible API modulo changes in the upstream dependencies:

  • no VOSI availability going forward
  • enhanced VOSI tables endpoint

The openapi dir holds the components that TAP specifies.

The openapi.yaml (example) refers to components laid out in a sub-directory like

openapi/{std}/{component}

which is not the openapi here. This openapi dir is the source from which one would create openapi/tap/ (and likewise for vosi, dali, uws).


For an example of the result, I pull all the components from VOSI, DALI, and TAP into our youcat service (plus I have some stub UWS components in there) and have an almost identical openapi.yaml that (i) has no errors but lots of warnings using an off-the shelf openapi validator and (ii) when built correctly, can use swagger to render decent API docs (sorry, not deployed yet, still in my dev repo). All the yaml can be seen here:

https://github.com/pdowler/tap/tree/openapi/youcat/src/main/webapp

A not-too-complicated build could assemble the components and validate, which is nominally validate the TAP openapi spec. We could (in principle) assemble and deploy the spec with swagger UI (or somesuch) or services can do that and deploy it with their implementation (we do that).

@pdowler pdowler changed the title OpenAPI spec for TAP-1.1 OpenAPI spec for WD-TAP-1.2 May 13, 2025
@pdowler pdowler changed the title OpenAPI spec for WD-TAP-1.2 OpenAPI spec for TAP-1.1 May 13, 2025
@pdowler pdowler marked this pull request as ready for review May 13, 2025 17:35
@pdowler pdowler changed the title OpenAPI spec for TAP-1.1 OpenAPI spec for TAP-1.1 compatible API for WD-TAP-1.2 May 16, 2025
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