All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yakworks.gorm.api.PathItem.groovy Maven / Gradle / Ivy

There is a newer version: 7.3.74
Show newest version
/*
* Copyright 2022 Yak.Works - Licensed under the Apache License, Version 2.0 (the "License")
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*/
package yakworks.gorm.api

import groovy.transform.CompileStatic

@CompileStatic
class PathItem {
    /**
     * A resource refers to one or more nouns being served, represented in namespaced fashion, because it is easy for humans to comprehend:
     */
    String name
    /**
     * Description to flow through to open api docs
     */
    String description
    /**
     * The full key in form "/namespace/resource"
     */
    String key
    /**
     * The namespace this falls under
     */
    String namespace
    /**
     * The fully qulaified class name, ex: yakworks.rally.orgs.Org
     */
    String entityClass
    /**
     * The list of includes with key
     */
    Map> includes
    /**
     * The list of allowed operations. create, read, update, delete
     */
    List allowedOps
    /**
     * Is bulk endpoint enabled for this resource.
     */
    boolean bulkOps
    /**
     * when true, q is required when doing a GET list.
     */
    boolean qRequired
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy