forked from loafle/openapi-generator-original
62 lines
1.7 KiB
Lua
62 lines
1.7 KiB
Lua
--[[
|
|
OpenAPI Petstore
|
|
|
|
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
|
|
OpenAPI spec version: 1.0.0
|
|
|
|
Generated by: https://openapi-generator.tech
|
|
]]
|
|
|
|
--[[
|
|
Unit tests for petstore.model.pet
|
|
Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
Please update as you see appropriate
|
|
]]
|
|
describe("pet", function()
|
|
local petstore_pet = require "petstore.model.pet"
|
|
|
|
-- unit tests for the property 'id'
|
|
describe("property id test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'category'
|
|
describe("property category test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'name'
|
|
describe("property name test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'photo_urls'
|
|
describe("property photo_urls test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'tags'
|
|
describe("property tags test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'status'
|
|
describe("property status test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
end)
|