Skip to content

Content-Type returned doesn't match OpenAPI json

One note the Content-Type returned in the following doesn't match OpenAPI json:

  • GET /api/schema-service/v1/schema
  • PUT /api/schema-service/v1/schema
  • POST /api/schema-service/v1/schema
  • GET /api/schema-service/v1/schema/{id}

Received a response with 'application/json' Content-Type, but it is not declared in the schema.

Defined content types: */*

curl -X GET -H 'Authorization: [Filtered]' -H 'data-partition-id: opendes' 'https://osdu-glab.msft-osdu-test.org/api/schema-service/v1/schema?authority=osdu&source=wks&entityType=wellbore&schemaVersionMajor=1&schemaVersionMinor=1&status=PUBLISHED&scope=INTERNAL&latestVersion=True&limit=10'

Response status: 200 Response payload: {"schemaInfos":[],"offset":0,"count":0,"totalCount":0}

Edited by Shane Hutchins