mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-30 18:42:57 +08:00
First implementation of plugin architecture
- Split route processing into stages: metadata, bodyParameters, queryParameters, responses - Provide tool to fetch route docblocks (with caching)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Mpociot\ApiDoc\Strategies\Metadata\GetFromDocBlocks;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
@@ -179,6 +181,21 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
'strategies' => [
|
||||
'metadata' => [
|
||||
GetFromDocBlocks::class,
|
||||
],
|
||||
'bodyParameters' => [
|
||||
|
||||
],
|
||||
'queryParameters' => [
|
||||
|
||||
],
|
||||
'responses' => [
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
* Custom logo path. The logo will be copied from this location
|
||||
* during the generate process. Set this to false to use the default logo.
|
||||
|
||||
Reference in New Issue
Block a user