Currently this module only supports the REST resources.
It would be nice if it also supported the resources for the JSON API module.
The schemata module already produces the JSON Schema for JSON API resources. So this issue should depend on #2870393: Remove openapi_json_schema submodule and add dependency on Schemata module
Should this be a submodule? Right now this module depends on REST module which you should not to get the OpenAPI spec for JSON API.
One option would be to make the module dependent on neither but just generate routes based on which module is on.
It doesn't seem to make sense to have openapi, openapi_rest, openapi_json_api because the if you turn on openapi it would do nothing.
Thoughts?
Comments
Comment #2
tedbowWorking on this in this branch http://cgit.drupalcode.org/openapi/log/?h=8.x-1-jsonapi_refactor
Right adding it all to the base module.
Comment #3
tedbowI have merged in the 8.x-1-jsonapi_refactor branch.
Support for jsonapi still needs work but that can be individual issues.