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

service-desc link type is different than href's response content-type header #204

Open
philvarner opened this issue Jan 22, 2022 · 3 comments
Labels
JiraBug [Type] Bug Something isn't working

Comments

@philvarner
Copy link

philvarner commented Jan 22, 2022

Validating against [https://cmr.earthdata.nasa.gov/stac/USGS_EROS](https://cmr.earthdata.nasa.gov/stac/USGS_EROS), the service-desc link:

{'rel': 'service-desc', 'href': 'https://api.stacspec.org/v1.0.0-beta.1/openapi.yaml', 'title': 'OpenAPI Doc', 'type': 'application/vnd.oai.openapi;version=3.0'}

advertises the type as 'application/vnd.oai.openapi;version=3.0', but the endpoint response (https://api.stacspec.org/v1.0.0-beta.1/openapi.yaml) sets the content type header as 'text/yaml'

@jaybarra jaybarra added the [Type] Bug Something isn't working label May 3, 2022
@eudoroolivares2016
Copy link
Contributor

I am still in the response seeing { "rel": "service-desc", "href": "https://api.stacspec.org/v1.0.0-beta.1/openapi.yaml", "type": "application/vnd.oai.openapi;version=3.0", "title": "OpenAPI Doc" },

@william-valencia
Copy link
Contributor

Should it be "application/vnd.oai.openapi+yaml;version=3.0" or "application/vnd.oai.openapi+yml;version=3.0" or something else?

@william-valencia
Copy link
Contributor

https://bugs.earthdata.nasa.gov/browse/CMR-10208 created to track this request

@aliciaaleman aliciaaleman added the [Type] Bug Something isn't working label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JiraBug [Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants