File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
33exports [` Utility function [1;37mcreateApiPaths()[0m - when given a simple Swagger-configuration - [0;32mworks[0m as expected 1` ] = `
4- Object {
5- " deleteUserStatus" : Object {
4+ {
5+ " deleteUserStatus" : {
66 " method" : " DELETE" ,
77 " uri" : " /api/test/v1/status/:username" ,
88 },
9- " getUserInfo" : Object {
9+ " getUserInfo" : {
1010 " method" : " GET" ,
11- " openid" : Object {
11+ " openid" : {
1212 " scope_required" : true ,
13- " scopes" : Object {
14- " api_key" : Array [
13+ " scopes" : {
14+ " api_key" : [
1515 " read" ,
1616 ],
1717 },
1818 },
1919 " uri" : " /api/test/v1/info/:username/:field" ,
2020 },
21- " getUserStatus" : Object {
21+ " getUserStatus" : {
2222 " method" : " GET" ,
2323 " uri" : " /api/test/v1/status/:username" ,
2424 },
25- " headUserStatus" : Object {
25+ " headUserStatus" : {
2626 " method" : " HEAD" ,
2727 " uri" : " /api/test/v1/status/:username" ,
2828 },
29- " postUserStatus" : Object {
29+ " postUserStatus" : {
3030 " method" : " POST" ,
3131 " uri" : " /api/test/v1/status/:username" ,
3232 },
33- " putUserStatus" : Object {
33+ " putUserStatus" : {
3434 " method" : " PUT" ,
3535 " uri" : " /api/test/v1/status/:username" ,
3636 },
Original file line number Diff line number Diff line change 3838 },
3939 "devDependencies" : {
4040 "@kth/eslint-config-kth" : " ^3.0.10" ,
41- "@types/jest" : " ^27.5 .2" ,
42- "eslint" : " ^8.20.0 " ,
43- "husky" : " ^7 .0.4 " ,
44- "jest" : " ^27.5.1 " ,
45- "jest-extended" : " ^1.2.1 " ,
41+ "@types/jest" : " ^29.0 .2" ,
42+ "eslint" : " ^8.23.1 " ,
43+ "husky" : " ^8 .0.1 " ,
44+ "jest" : " ^29.0.3 " ,
45+ "jest-extended" : " ^3.1.0 " ,
4646 "prettier" : " ^2.7.1" ,
4747 "pretty-quick" : " ^3.1.3"
4848 },
You can’t perform that action at this time.
0 commit comments