Palenca (Vech) cpf API

The cpf API from Palenca (Vech) — 1 operation(s) for cpf.

OpenAPI Specification

palenca-vech-cpf-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Palenca accounts cpf API
  description: Palenca API
  version: 2.0.0
tags:
- name: cpf
paths:
  /v1/cpf/validate:
    post:
      tags:
      - cpf
      summary: Validate Cpf
      operationId: validate_cpf_v1_cpf_validate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateCPFParams'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: boolean
                title: Response Validate Cpf V1 Cpf Validate Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    ValidateCPFParams:
      properties:
        cpf:
          type: string
          title: Cpf
      type: object
      required:
      - cpf
      title: ValidateCPFParams
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError