Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yceruto committed Jan 6, 2024
1 parent 2f6d612 commit 00358e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ class PostProductAction

## Main Features

- [x] Generate OpenAPI spec from PHP attributes
- [x] Generate OpenAPI spec from PHP attributes (Mainly based on `zircote/swagger-php`)
- Automatic `Operation`, `Schema` and `Property` guessing from PHP classes and methods
- [x] Expose Swagger UI to explore the OpenAPI spec and test API endpoints
- [x] Export OpenAPI spec in JSON or YAML format (via HTTP and console command)
- [x] Import OpenAPI spec in JSON or YAML format (via config file)
- [x] Define Symfony routes and OpenAPI Paths using the same attributes:
- `#[Post]`, `#[Get]`, `#[Put]`, `#[Patch]`, `#[Delete]`
- [x] Conditional OpenAPI Path/Route definition:
- Example: `#[Get('/me', when: 'service("me_feature").isEnabled()')]`
- [x] Symfony attributes abbreviation:
- Example: `#[Get('/me', when: 'service("toggle_me").isEnabled()')]`
- [x] Symfony attributes abbreviations:
- `#[Body]` instead of `#[MapRequestPayload]`
- `#[Query]` instead of `#[MapQueryString]`
- [x] OpenAPI attributes abbreviations:
Expand Down

0 comments on commit 00358e8

Please sign in to comment.