forked from loafle/openapi-generator-original
76 lines
2.1 KiB
Lua
76 lines
2.1 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.user
|
|
Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
Please update as you see appropriate
|
|
]]
|
|
describe("user", function()
|
|
local petstore_user = require "petstore.model.user"
|
|
|
|
-- 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 'username'
|
|
describe("property username test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'first_name'
|
|
describe("property first_name test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'last_name'
|
|
describe("property last_name test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'email'
|
|
describe("property email test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'password'
|
|
describe("property password test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'phone'
|
|
describe("property phone test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
-- unit tests for the property 'user_status'
|
|
describe("property user_status test", function()
|
|
it("should work", function()
|
|
-- TODO assertion here: http://olivinelabs.com/busted/#asserts
|
|
end)
|
|
end)
|
|
|
|
end)
|