Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 51175087

Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)

Update swagger.yaml

Zobrazit rozdíly:

src/swagger.yaml
383 383
        schema:
384 384
          $ref: '#/components/schemas/IdParameter'
385 385
      requestBody:
386
        description: Identity data to be created
386
        description: Identity data used for creating the identity
387 387
        content:
388 388
          application/json:
389 389
            schema:
......
457 457
    Filtering:
458 458
      properties:
459 459
        type:
460
          $ref: '#/components/schemas/CertificateType'
460
          type: array
461
          items:
462
            type: string
463
            enum:
464
            - root
465
            - inter
466
            - end
461 467
        usage:
462
          $ref: '#/components/schemas/CertificateUsage'
468
          type: array
469
          items:
470
            type: string
471
            enum:
472
            - CA
473
            - digitalSignature
474
            - authentication
475
            - SSL
476
        CN:
477
          type: string
478
          example: JMSD s.r.o.
463 479
        issuedby:
464 480
          type: integer
465 481
          example: 517
......
638 654
          - cessationOfOperation
639 655
          - certificateHold
640 656
          - removeFromCRL
641
    CertificateType:
642
      properties:
643
        RootCA:
644
          type: boolean
645
        IntermediateCA:
646
          type: boolean
647
        EndCertificate:
648
          type: boolean
649 657
    PrivateKey:
650 658
      properties:
651 659
        password:
......
655 663
          type: string
656 664
          example: '-----BEGIN PRIVATE_KEY-----...-----END PRIVATE_KEY-----'
657 665
    IdentityRequest:
666
      required:
667
      - name
668
      - password
658 669
      properties:
659 670
        name:
660 671
          type: string
661 672
          example: Jane Doe
662
          required: true
663 673
        password:
664 674
          type: string
665 675
          example: passphrase
666
          required: true

Také k dispozici: Unified diff