
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@sankhyalabs/fintech-spectral-rules
Advanced tools
Regras personalizadas para validação de OpenAPI Sankhya fintech usando Spectral
Este pacote contém um conjunto de regras personalizadas do contexto Sankhya FinTech para validação de documentação OpenAPI utilizando o Spectral. Ele estende as regras do pacote @stoplight/spectral-documentation e adiciona verificações específicas para garantir a qualidade da documentação.
Para utilizar este pacote em seu projeto, instale via npm:
npm install @sankhyalabs/fintech-spectral-rules --save-dev
No arquivo .spectral.yaml do seu projeto, estenda este pacote para aplicar as regras personalizadas:
extends:
- "@sankhyalabs/fintech-spectral-rules"
Agora, execute o Spectral para validar sua API OpenAPI:
spectral lint openapi.yaml
Se preferir rodar o Spectral sem um arquivo .spectral.yaml, passe o pacote diretamente na linha de comando:
spectral lint --ruleset @sankhyalabs/fintech-spectral-rules openapi.yaml
O pacote adiciona regras extras para garantir a qualidade da documentação. Algumas delas incluem:
snk-schema-properties-must-have-description-and-example → Todos os atributos dos schemas devem ter description e example.snk-endpoint-must-have-summary-and-description → Todos os endpoints devem conter summary e description.FAQs
Regras personalizadas para validação de OpenAPI Sankhya fintech usando Spectral
We found that @sankhyalabs/fintech-spectral-rules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.