openapi: 3.0.1
info:
    title: Hostsharing hsadmin-ng API
    version: v0
servers:
    - url: http://localhost:8080
      description: Local development default URL.

paths:

    /api/rbac/subjects:
        $ref: 'rbac-subjects.yaml'

    /api/rbac/subjects/{subjectUuid}/permissions:
        $ref: 'rbac-subjects-with-id-permissions.yaml'

    /api/rbac/subjects/{subjectUuid}:
        $ref: 'rbac-subjects-with-uuid.yaml'

    /api/rbac/roles:
        $ref: 'rbac-roles.yaml'

    /api/rbac/grants:
        $ref: 'rbac-grants.yaml'

    /api/rbac/grants/{grantedRoleUuid}/{granteeSubjectUuid}:
        $ref: 'rbac-grants-with-id.yaml'

