openapi-processor-mapping: v2

options:
    package-name: net.hostsharing.hsadminng.hs.office.generated.api.v1
    model-name-suffix: Resource
    bean-validation: true

map:
    result: org.springframework.http.ResponseEntity

    types:
        - type: array => java.util.List
        - type: string:uuid => java.util.UUID
        - type: string:format => java.lang.String
        - type: number:currency => java.math.BigDecimal
        - type: number:integer => java.lang.Integer

    paths:
        /api/hs/office/partners/{partnerUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/partners/{partnerUUID}/details:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/contacts/{contactUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/persons/{personUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/relations/{relationUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/bankaccounts/{bankAccountUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/debitors/{debitorUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/sepamandates/{sepaMandateUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
        /api/hs/office/memberships/{membershipUUID}:
            null: org.openapitools.jackson.nullable.JsonNullable
