Title: list and create endpoints aren't correctly matched · Issue #130 · api-platform/api-doc-parser · GitHub
Open Graph Title: list and create endpoints aren't correctly matched · Issue #130 · api-platform/api-doc-parser
X Title: list and create endpoints aren't correctly matched · Issue #130 · api-platform/api-doc-parser
Description: Api Doc-parser version: 0.16.1 Description Following the guidelines for creating the endpoint names, I am just getting the operations defined for the /.../users/{id] endpoint (e.g. get, put, delete). The operations that are defined for t...
Open Graph Description: Api Doc-parser version: 0.16.1 Description Following the guidelines for creating the endpoint names, I am just getting the operations defined for the /.../users/{id] endpoint (e.g. get, put, delete...
X Description: Api Doc-parser version: 0.16.1 Description Following the guidelines for creating the endpoint names, I am just getting the operations defined for the /.../users/{id] endpoint (e.g. get, put, delete...
Opengraph URL: https://github.com/api-platform/api-doc-parser/issues/130
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"list and create endpoints aren't correctly matched ","articleBody":"**Api Doc-parser version**: 0.16.1\r\n\r\n**Description** \r\nFollowing the [guidelines](https://github.com/api-platform/api-doc-parser#openapi-support) for creating the endpoint names, I am just getting the operations defined for the `/.../users/{id]` endpoint (e.g. `get`, `put`, `delete`). The operations that are defined for the `.../users` endpoint (`get`, `post`) are not detected by the doc parser. \r\n\r\n**Possible Solution** \r\n[This fork](https://github.com/emdgroup/api-doc-parser) takes care of these issues. While you can inject the customized doc-parser in the following way:\r\n\r\n```\r\nimport { parseOpenApi3Documentation } from '@emdgroup-liquid/api-doc-parser';\r\nimport { ApiPlatformAdminDataProvider, openApiDataProvider } from '@api-platform/admin';\r\n\r\nconst customDataProvider: ApiPlatformAdminDataProvider = openApiDataProvider({\r\n ...\r\n apiDocumentationParser: parseOpenApi3Documentation,\r\n});\r\n\r\nconst Admin = () =\u003e {\r\n return (\r\n \u003cOpenApiAdmin\r\n ...\r\n dataProvider={customDataProvider} /\u003e\r\n );\r\n};\r\n```\r\nIt would be nice to integrate the changes into this main repo.","author":{"url":"https://github.com/Pherkel","@type":"Person","name":"Pherkel"},"datePublished":"2023-06-20T13:23:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/130/api-doc-parser/issues/130"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:310b10e3-f4d0-abc1-cb8c-1805ff01b7d5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DC2:D9BB8:2025D5B:2A76011:6992CDDA |
| html-safe-nonce | 543648cb50270714bfc64ec1397c895fb2bf87f2eff794ec30d446a28cc14ac8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REMyOkQ5QkI4OjIwMjVENUI6MkE3NjAxMTo2OTkyQ0REQSIsInZpc2l0b3JfaWQiOiI4MjgzNDA0OTcyNTgzOTk2ODkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 034334835f41ff2f05558842dad2debb6a89d5d5dbbc5337c64ad47b0618e360 |
| hovercard-subject-tag | issue:1765404804 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/api-platform/api-doc-parser/130/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0722b9a29aec662e4c81e9c92ea17e92d2714d01495ef4bf4b7502cef8d09cde/api-platform/api-doc-parser/issues/130 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0722b9a29aec662e4c81e9c92ea17e92d2714d01495ef4bf4b7502cef8d09cde/api-platform/api-doc-parser/issues/130 |
| og:image:alt | Api Doc-parser version: 0.16.1 Description Following the guidelines for creating the endpoint names, I am just getting the operations defined for the /.../users/{id] endpoint (e.g. get, put, delete... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Pherkel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/api-platform/api-doc-parser git https://github.com/api-platform/api-doc-parser.git |
| octolytics-dimension-user_id | 13420081 |
| octolytics-dimension-user_login | api-platform |
| octolytics-dimension-repository_id | 85816363 |
| octolytics-dimension-repository_nwo | api-platform/api-doc-parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 85816363 |
| octolytics-dimension-repository_network_root_nwo | api-platform/api-doc-parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width