Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml or json generated ? #2

Open
by-tech opened this issue Apr 14, 2020 · 1 comment
Open

yaml or json generated ? #2

by-tech opened this issue Apr 14, 2020 · 1 comment

Comments

@by-tech
Copy link

by-tech commented Apr 14, 2020

Hi

is a yamp or json file is generated ?
If yes, where i can found it ?

Regards

@ezsky
Copy link
Contributor

ezsky commented Apr 15, 2020

Hi @sgatrip
this module is reader and renderer. can auto scan under path php file.
if inculde annotations in your php files.
exp.

/**
 * @OA\Info(title="My First API", version="0.1")
 */

/**
 * @OA\Get(
 *     path="/api/resource.json",
 *     @OA\Response(response="200", description="An example resource")
 * )
 */

will be generate to json or yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants