An open API service indexing awesome lists of open source software.

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

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
```