OCR-D / spec

Specification of the @OCR-D technical architecture, interface definitions and data exchange format(s)
https://ocr-d.de/en/spec/
17 stars 5 forks source link

webapi: processor: reference to ocr-d-tool.json #231

Closed joschrew closed 1 year ago

joschrew commented 1 year ago

The spec contains the following: https://github.com/OCR-D/spec/blob/506b33936d89080a683fa8a26837f2a23b23e5e2/openapi.yml#L412-L414

What is meant by x-$ref or rather should it be changed to some more meaningful. I think it should "just" show the object from the ocrd-tool.json for the processor and not a link to it?!

MehmedGIT commented 1 year ago

Notes from the meeting with Konstantin:

  1. x-$ref returns the ocrd_tool.json file of the specific processor.
  2. We could modify the openapi schemas if we think it makes more sense. Then get a review of the changes.