Skip to content

haddowg/laravel-json-api-openapi

Repository files navigation

OpenApi Spec generation for Laravel JSON:API

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require haddowg/jsonapi-openapi

You can publish the config file with:

php artisan vendor:publish --tag="jsonapi-openapi-config"

Usage

php artisan jsonapi:docs {serverName}

TODO

  • Make translation of attribute descriptions recursive
  • Command to generate/publish language file stubs
  • Document localisation with lang files
  • Document customising via attributes on resource/schema/controller
  • Document how to document custom actions]
  • Command to generate static redoc docs to public folder (locale option)
  • config option to generate redoc docs route (include locale detection?)
  • test all the things!

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

OpenApi Spec generation for Laravel JSON:API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages