Conversation
ChristophWurst
left a comment
There was a problem hiding this comment.
Dear @tobiasKaminsky,
Thank you very much for the contribution.
This seems to convert the internal API of the app to a public API. To meet the standards of a public API, there has to be documentation about it in the developer documentation of Nextcloud. There are two options for an OCS documentation
- Manually document the endpoints.
- Use the OpenAPI generator to auto-generate a machine-readable metadata file.
Please note that once the API is public, it can no longer change in breaking ways for one year.
|
Please also see #458. I think the two PRs have the same goal. |
|
While you're on this anyway, how about adding https://github.com/nextcloud/openapi-extractor support? |
That would be wonderful 💙 |
|
I tried to keep the changes as minimal as possible. Another good cleanup would be to migrate the annotations and routes to attributes. |
|
Meh more things to fix |
|
OCI test fails are unrelated, the container image that is used no longer works. |
|
Does this API match https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-recommendations-api.html? These docs were merged prematurely before the integration of #458. |
|
Yes it matches the docs, at least if I understand them correctly. |
|
/compile |
Done #834 |
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: provokateurin <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: nextcloud-command <[email protected]> Signed-off-by: Christopher Ng <[email protected]>
Fix #828