Skip to content

Conversation

sun-yryr
Copy link
Contributor

In this PR, config/openapi.php is modified to enable output of the contact schema.

Example:

config/openapi.php
~~~
'info' => [
    'contact' => [
        'name' => 'sample',
        'url' => 'sample_url',
        'email' => 'sample_email',
    ],
],
~~~

output json

~~~
"info": {
    "contact": {
        "name": "sample",
        "url": "sample_url",
        "email": "sample_email"
    }
},
~~~

@vyuldashev vyuldashev merged commit 5db40bd into vyuldashev:master May 7, 2021
@vyuldashev
Copy link
Owner

Released under v1.3.0. Thanks for the contribution!

@sun-yryr sun-yryr deleted the feature/generate-contact branch May 7, 2021 10:21
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

Successfully merging this pull request may close these issues.

2 participants