Bug #1874
closedAPI: Outdated Swagger File
Description
The current swagger documentation seems to be not up to date.
https://app.swaggerhub.com/apis/ctot-nondef/OpenAtlas/0.3#/Entities/get_api_0_3_query_
For example the available values of of the column attribute are not correct:
According to the swagger documentation possible values are: 'id', 'classCode', 'name', 'description', 'created', 'modified', 'systemClass', 'beginFrom', 'beginTo', 'endFrom', 'endTo'
but only 'id', 'name', 'cidoc_class', 'system_class'.
It would be great if the swagger documentation would be updated.
Updated swagger:
https://app.swaggerhub.com/apis/ctot-nondef/OpenAtlas/0.4.1
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Tracker changed from Question to Feature
- Target version set to 7.9.0
It is outdated and I wanted to redo it after the documentation was done. Was on my todo list but thank you for creating a ticket!
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Status changed from Assigned to In Progress
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Assignee changed from Bernhard Koschiček-Krombholz to Andreas Olschnögger
https://app.swaggerhub.com/apis/ctot-nondef/OpenAtlas/0.4.1
New file, completely rewritten. Structure changed, but hopefully to the better. Please test it, if everything is in order for Discovery.
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Blocks Feature #1749: API: Testsystems for API added
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Related to Feature #1820: API: use existing GeoJSON definitions for swagger added
Updated by Bernhard Koschiček-Krombholz about 2 years ago
- Description updated (diff)
Updated by Andreas Olschnögger almost 2 years ago
- Status changed from In Progress to Closed
Thanks a lot for updating the swagger file.
I've implemented the new file to Discovery and it seems to work fine.
Updated by Alexander Watzinger almost 2 years ago
- Tracker changed from Feature to Bug
- Found in version set to 7.8.0