Repository navigation
HTTP 조회 확장 2: scalar 배열 query의 반복 키 직렬화 - #140
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HTTP query 배열을 OpenAPI 3 form/explode=true(기본값 포함)와 Swagger 2 collectionFormat=multi에서 지원한다. 모델의 JSON 배열을 host가 반복 query key로 직렬화하고 원본 scalar items와 minItems/maxItems/uniqueItems를 검증한다. 지원 밖 serialization·object items·path 배열은 #139의 선택 제외/required 거절 규칙을 따른다.
기존 항목·입력·URL 한도와 control character 거절을 유지하고 pair 추가 중에도 URL cap을 적용한다. 빈 선택 배열은 pair를 만들지 않고 required 배열이 비어 wire에서 사라질 때는 요청 전에 거절한다. RFC6570의 빈 list expansion과 구분한다.
HTTP 실행 profile은 하나의 상수 xgen.http.read/v2로 adapter binding과 local profile에 고정했다. 이전 바이너리로 만든 승인 대기 Run을 새 바이너리로 재개하면 execution_profile drift로 거절하고, 이전 완료 Run은 네트워크 없이 재생한다. Capability의 기존 path/query JSON object ABI는 유지한다.
검증: Rust 781 passed·4 ignored, pinned graph-tool-call+컴파일 CLI 전체144개 검사(7 skipped) 통과. assets/calendar 설계와 shipment/sensor의 실제 repeated query·잘못된 배열 0회 요청을 확인했다. HTTP v1 이전 바이너리를 주입한 두 migration 검사도 실행했다. Clippy·fmt·문서·workflow 검사 통과. 외부 통합의 과업 수·실제 LLM 품질은 미측정이다. POST와 Run bearer는 후속 PR로 분리한다.