2019-08-23 02:37:57 +02:00
|
|
|
|
|
|
|
#############################
|
|
|
|
# Global parameters #
|
|
|
|
#############################
|
|
|
|
_global:
|
2021-11-16 18:15:09 +01:00
|
|
|
namespace: moulitest
|
2021-06-13 18:51:13 +02:00
|
|
|
authentication:
|
2021-06-13 16:20:34 +02:00
|
|
|
api: dummy
|
2021-06-13 18:51:13 +02:00
|
|
|
cli: dummy
|
2019-08-23 02:37:57 +02:00
|
|
|
|
|
|
|
#############################
|
|
|
|
# Test Actions #
|
|
|
|
#############################
|
|
|
|
testauth:
|
|
|
|
actions:
|
|
|
|
none:
|
|
|
|
api: GET /test-auth/none
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: null
|
|
|
|
cli: null
|
2019-08-23 02:37:57 +02:00
|
|
|
|
|
|
|
default:
|
|
|
|
api: GET /test-auth/default
|
|
|
|
|
2020-01-02 05:32:57 +01:00
|
|
|
only-api:
|
|
|
|
api: GET /test-auth/only-api
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: dummy
|
|
|
|
cli: null
|
2020-01-02 05:32:57 +01:00
|
|
|
|
|
|
|
only-cli:
|
|
|
|
api: GET /test-auth/only-cli
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: null
|
|
|
|
cli: dummy
|
2020-01-02 05:32:57 +01:00
|
|
|
|
2019-08-23 02:37:57 +02:00
|
|
|
other-profile:
|
|
|
|
api: GET /test-auth/other-profile
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: yoloswag
|
|
|
|
cli: yoloswag
|
2020-01-07 18:38:59 +01:00
|
|
|
|
2020-01-08 17:08:59 +01:00
|
|
|
with_arg:
|
|
|
|
api: GET /test-auth/with_arg/<super_arg>
|
|
|
|
arguments:
|
|
|
|
super_arg:
|
|
|
|
help: Super Arg
|
|
|
|
|
|
|
|
with_extra_str_only:
|
|
|
|
api: GET /test-auth/with_extra_str_only/<only_a_str>
|
|
|
|
arguments:
|
|
|
|
only_a_str:
|
|
|
|
help: Only a String
|
|
|
|
extra:
|
|
|
|
pattern:
|
|
|
|
- !!str ^[a-zA-Z]
|
|
|
|
- "pattern_only_a_str"
|
|
|
|
|
|
|
|
with_type_int:
|
|
|
|
api: GET /test-auth/with_type_int/<only_an_int>
|
|
|
|
arguments:
|
|
|
|
only_an_int:
|
|
|
|
help: Only an Int
|
|
|
|
type: int
|
|
|
|
|
2019-12-28 16:31:23 +01:00
|
|
|
subcategories:
|
|
|
|
subcat:
|
|
|
|
actions:
|
|
|
|
none:
|
|
|
|
api: GET /test-auth/subcat/none
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: null
|
|
|
|
cli: null
|
2019-12-28 16:31:23 +01:00
|
|
|
|
|
|
|
default:
|
|
|
|
api: GET /test-auth/subcat/default
|
|
|
|
|
|
|
|
post:
|
|
|
|
api: POST /test-auth/subcat/post
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: dummy
|
|
|
|
cli: dummy
|
2019-12-28 16:31:23 +01:00
|
|
|
|
|
|
|
other-profile:
|
|
|
|
api: GET /test-auth/subcat/other-profile
|
2021-06-13 16:20:34 +02:00
|
|
|
authentication:
|
|
|
|
api: yoloswag
|
|
|
|
cli: yoloswag
|