nextcloud / openapi-extractor

A tool for extracting OpenAPI specifications from Nextcloud source code
https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-openapi.html
GNU Affero General Public License v3.0
6 stars 2 forks source link

Support inline comments in types #10

Open provokateurin opened 1 year ago

provokateurin commented 1 year ago

https://github.com/vimeo/psalm/issues/8168

provokateurin commented 5 months ago

Not possible at the moment because we use the phpstan doc parser which doesn't support the inline comments like psalm (see the linked issue above). Sadly psalm doesn't expose the parsing libraries separately so we can't use that either (https://github.com/vimeo/psalm/issues/2094).

provokateurin commented 2 weeks ago

The relevant phpdoc-parser issue is https://github.com/phpstan/phpdoc-parser/issues/184. This feature can not be implemented without it.