https://github.com/jenky/swagger-example
Swagger 3 (OpenApi) example
https://github.com/jenky/swagger-example
openapi php-annotation php-swagger swagger
Last synced: 18 days ago
JSON representation
Swagger 3 (OpenApi) example
- Host: GitHub
- URL: https://github.com/jenky/swagger-example
- Owner: jenky
- Created: 2019-02-13T10:54:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T08:34:21.000Z (about 7 years ago)
- Last Synced: 2025-02-23T01:29:26.017Z (over 1 year ago)
- Topics: openapi, php-annotation, php-swagger, swagger
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swagger 3 (OpenApi) example
#### Specification
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md
#### Laravel Mix copy `redoc js` to `public/js` directory
```js
mix.copy('node_modules/redoc/bundles/redoc.standalone.js', 'public/js/redoc.standalone.js')
```
#### Laravel Blade template
```
composer require darkaonline/l5-swagger 5.7.*
```
```php
@extends('layouts.master')
@section('title', config('l5-swagger.api.title'))
@push('css')
@endpush
@push('js')
@endpush
@section('body')
@endsection
```