Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

list and create endpoints aren't correctly matched

Đang mở
#130 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
openapi, typescript
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu với entry point parseOpenApi3Documentation và so sánh hành vi của nó với fork emdgroup/api-doc-parser được liên kết. Tái hiện việc phân tích các endpoint collection /.../users và item /.../users/{id}, sau đó xác minh rằng cả các operation list/create và item của chúng đều được phát hiện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 the .../users endpoint (get, post) are not detected by the doc parser.

Possible Solution
This fork takes care of these issues. While you can inject the customized doc-parser in the following way:

import { parseOpenApi3Documentation } from '@emdgroup-liquid/api-doc-parser';
import { ApiPlatformAdminDataProvider, openApiDataProvider } from '@api-platform/admin';

const customDataProvider: ApiPlatformAdminDataProvider = openApiDataProvider({
  ...
  apiDocumentationParser: parseOpenApi3Documentation,
});

const Admin = () => {
  return (
    <OpenApiAdmin
      ...
      dataProvider={customDataProvider} />
  );
};

It would be nice to integrate the changes into this main repo.

Ngôn ngữ chính
TypeScript
Star
113
Fork
80
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của api-platform/api-doc-parser

Tất cả issue của api-platform/api-doc-parser

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.