Open danielmarschall opened 1 year ago
Hello Daniel, as I know you are not a big friend of libraries/dependencies. Although I suggest to take a look at https://github.com/cebe/php-openapi#writing-api-description-files Maybe this helps?
I m not sure if I can promise any help, have to read the spec first ...
Hello, Do you still working on that project and need API documentation? I would like to try working with API documentation. Maybe it will help and could contribute to your project. Marie
Hello, thank you very much for that offer! Yes, I still need help with the documentation. The current documentation is written in plain text, but it would be good if it could follow the OpenAPI specification (which is a bit too complex for me at the moment).
Could you please send me the documentation in plain text. I will try to write API specification based on that.
Hello,
the field list is like this:
Please note that the fields are not actually described (I can do that later). My main issue is the OpenAPI data structure. If you could do this, then I can easily edit the explanations of the fields later. Thank you very much.
Hi Marie,
Are you in the midst of working on this?
Hi Daniel,
Just to clarify - would the response for the endpoints be a JSON/XML object containing the output parameters as key value pairs?
Hello, yes, it is a REST interface with the result being a JSON object. The "value" can be an array, not just a string.
There should be an OpenAPI documentation that is automatically generated from the
restApiInfo()
methods of the plugins. I don't have the time to study the OpenAPI specification, so maybe someone can help me with this task? Thank you very much!