Skip to content

Commit a059085

Browse files
committed
docs: removed old API documentation, moved OpenAPI to docs/ folder
1 parent cb01094 commit a059085

File tree

6 files changed

+1087
-640
lines changed

6 files changed

+1087
-640
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ You can read the complete documentation on [here](https://phpmyfaq.readthedocs.i
205205

206206
## REST API v3.0 documentation
207207

208-
The REST API documentation is available as OpenAPI 3.0 specification [here](api-docs/openapi.yaml).
208+
The REST API documentation is available as OpenAPI 3.0 specification [here](docs/openapi.yaml).
209209

210210
## License
211211

api-docs/faq/post.md

Lines changed: 0 additions & 83 deletions
This file was deleted.

api-docs/faq/put.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"check": "./phpmyfaq/src/libs/bin/phpstan analyse -c phpstan.neon --memory-limit 1G",
8282
"lint": "./phpmyfaq/src/libs/bin/phpcs --standard=PSR12 --extensions=php --ignore=./phpmyfaq/src/libs/* ./phpmyfaq/src/phpMyFAQ",
8383
"lint-fix": "./phpmyfaq/src/libs/bin/phpcbf --standard=PSR12 --extensions=php --ignore=./phpmyfaq/src/libs/* ./phpmyfaq/src/phpMyFAQ",
84-
"openapi": "./phpmyfaq/src/libs/bin/openapi -b ./phpmyfaq/src/libs/autoload.php ./phpmyfaq/src/phpMyFAQ -o ./api-docs/openapi.yaml",
84+
"openapi": "./phpmyfaq/src/libs/bin/openapi -b ./phpmyfaq/src/libs/autoload.php ./phpmyfaq/src/phpMyFAQ -o docs/openapi.yaml",
8585
"phpstan": "./phpmyfaq/src/libs/bin/phpstan analyze --memory-limit=4G",
8686
"refactor": "./phpmyfaq/src/libs/bin/rector",
8787
"refactor:dryrun": "./phpmyfaq/src/libs/bin/rector --dry-run",

0 commit comments

Comments
 (0)