chore(openapi): resync specs 2026-08 + regenerate (famílias V3, inbound NFS-e, CNPJ em OpenAPI 3) - #35
Merged
Merged
Conversation
…nd NFS-e, CNPJ em OpenAPI 3) Specs entregues pelo time da API em 2026-08-01. Triage: REFRESHED in place (4): - nf-servico-v1.yaml: docs do 400 de CNPJ alfanumérico (aponta migração à V3) - nf-consumidor-v2.yaml: remove CreditType/DebitType (exclusivos da NF-e mod. 55) - nf-produto-v2.yaml: adiciona CreditType/DebitType + purposeType 5/6 (Nota de Crédito/Débito, Ajuste SINIEF 49/25) - product-invoice-rtc-v1.yaml: enums de creditType remodelados (RefusedDeliveryTotalOrNotFound/Partial, Ajuste SINIEF 8/26) ADDED as new namespaces (4 + 1 upgrade): - nf-servico-v3.yaml -> NfServicoV3 (1 — respostas inline, como a V1) - nf-produto-v3.yaml -> NfProdutoV3 (99) - nf-consumidor-v3.yaml -> NfConsumidorV3 (130) - nfse-inbound-v2.yaml -> NfseInboundV2 (26) - consulta-cnpj-v3: entregue como .json OpenAPI 3.0.4; convertido a YAML (pipeline lê só *.yaml) substituindo a Swagger 2.0 -> ConsultaCnpjV3 (24) 856 arquivos gerados; lint sintático e generate-check verdes; suite completa, PHPStan e cs verdes (nenhum teste de alinhamento acusou — V1/V2 congeladas, todo o resto é aditivo). Nada de runtime muda — os resources V3/inbound-NFS-e são funcionalidade futura (onda própria com sondas).
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.
Resync mecânico das specs entregues pelo time da API (2026-08-01)
Nada de runtime muda — só
openapi/esrc/Generated/. Sem release; as funcionalidades novas virão em changes próprias com sondas.REFRESHED in place (4)
nf-servico-v1.yaml: docs do 400 de CNPJ alfanumérico (aponta migração à V3)nf-consumidor-v2.yaml: removeCreditType/DebitType(exclusivos da NF-e modelo 55)nf-produto-v2.yaml: adicionaCreditType/DebitType+purposeType5/6 (Nota de Crédito/Débito, Ajuste SINIEF 49/25)product-invoice-rtc-v1.yaml: enums decreditTyperemodelados (RefusedDeliveryTotalOrNotFound/Partial, Ajuste SINIEF 8/26)ADDED (4 namespaces novos + 1 upgrade)
nf-servico-v3.yamlNfServicoV3nf-produto-v3.yamlNfProdutoV3nf-consumidor-v3.yamlNfConsumidorV3nfse-inbound-v2.yamlNfseInboundV2consulta-cnpj-v3ConsultaCnpjV3*.yaml), substituindo a Swagger 2.0 que era invisível ao geradorValidação
make generate: 856 arquivos, lint sintático verde (nenhuma spec nova tropeçou no gerador — primeira colheita real da trava da v3.4.1)generate-check, suite completa (280 passed; única falha local é a ambientalCurlTransportFailurePhaseTest), PHPStan e cs verdes