Newer
Older
sample-spring-graphql / src / main / resources / graphql / schema.graphqls
yhornisse on 8 May 2020 233 bytes Add Project
  1. # 本
  2. type Book {
  3. # ID
  4. bookId: ID!
  5. # 本のタイトル
  6. name: String!
  7. # 著者名
  8. author: String!
  9. }
  10.  
  11. type Query {
  12. # 稼働チェック
  13. live: Boolean!
  14. # 本を取得
  15. getBook(bookId:ID!): Book
  16. }