openapi: 3.0.0
info:
  version: 'API_VERSION'
  title: Antragsmanagement API für Antragsverfahren und Berichtspflichten
  contact:
    name: FITKO
    url: 'https://www.fitko.de/'
  license:
    url: 'https://creativecommons.org/licenses/by-sa/4.0/'
    name: Creative Commons Attribution Share Alike 4.0 (CC BY-SA 4.0)
  termsOfService: https://www.fitko.de/
servers:
  - url: 'https://sender-test.fiep-poc.de/beta8'
    description: Testsystem
tags:
  - name: Destination Management
  - name: Application Transfer
  - name: Application Retrieval
  - name: Technical
paths:
  /destinations:
    $ref: './endpoints/destinations/index.yml'

  /destinations/{destinationId}:
    $ref: './endpoints/destinations/uuid.yml'

  /applications:
    $ref: './endpoints/applications/index.yml'

  /applications/{applicationId}:
    $ref: './endpoints/applications/uuid.yml'

  /applications/{applicationId}/attachments/{attachmentId}:
    $ref: './endpoints/attachments/uuid.yml'

  /info:
    $ref: './endpoints/info/get-info.yml'

components:
  securitySchemes:
    OAuth20:
      $ref: './security/oauth2.yml'

  parameters:
    applicationId:
      $ref: './parameters/applicationId.yml'
    destinationId:
      $ref: './parameters/destinationId.yml'
    attachmentId:
      $ref: './parameters/attachmentId.yml'

  schemas:
    AnnouncedContentStructure:
      $ref: './schemas/announced-content-structure.yml'
    Application:
      $ref: './schemas/application.yml'
    ApplicationCreated:
      $ref: './schemas/application-created.yml'
    ApplicationSchema:
      $ref: './schemas/application-schema.yml'
    ApplicationState:
      $ref: './schemas/application-state.yml'
    Attachment:
      $ref: './schemas/attachment.yml'
    ContactInformation:
      $ref: './schemas/contact-information.yml'
    CreateApplication:
      $ref: './schemas/create-application.yml'
    CreateAttachment:
      $ref: './schemas/create-attachment.yml'
    CreateDestination:
      $ref: './schemas/create-destination.yml'
    Destination:
      $ref: './schemas/destination.yml'
    DestinationList:
      $ref: './schemas/destination-list.yml'
    EmptyBody:
      $ref: './schemas/empty-body.yml'
    Error:
      $ref: './schemas/error.yml'
    Info:
      $ref: './schemas/info.yml'
    JWK:
      $ref: './schemas/jwk.yml'
    JWKS:
      $ref: './schemas/jwks.yml'
    ListOfApplicationIds:
      $ref: './schemas/list-of-application-ids.yml'
    StateTransition:
      $ref: './schemas/state-transition.yml'
    SubmitApplication:
      $ref: './schemas/submit-application.yml'
    UpdateDestination:
      $ref: './schemas/update-destination.yml'
    Version:
      $ref: './schemas/version.yml'

  examples:
    Application:
      $ref: './examples/application.yml'
    ApplicationCreated:
      $ref: './examples/application-created.yml'
    ApplicationState:
      $ref: './examples/application-state.yml'
    CreateApplication:
      $ref: './examples/create-application.yml'
    CreateDestination:
      $ref: './examples/create-destination.yml'
    Destination:
      $ref: './examples/destination.yml'
    DestinationList:
      $ref: './examples/destination-list.yml'
    EmptyBody:
      $ref: './examples/empty-body.yml'
    EncryptedMessage:
      $ref: './examples/encrypted-message.yml'
    Info:
      $ref: './examples/info.yml'
