forked from loafle/openapi-generator-original
* move lua spec folder, remove extra endline * remove extra line * remove duplicated import
76 lines
2.3 KiB
Lua
76 lines
2.3 KiB
Lua
--[[
|
|
Swagger Petstore
|
|
|
|
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
|
|
OpenAPI spec version: 1.0.0
|
|
Contact: apiteam@swagger.io
|
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
]]
|
|
|
|
--[[
|
|
Unit tests for petstore.model.user
|
|
Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
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)
|