Skip to content

Commit

Permalink
Moving all configs into stackhawk.d directory and updating openapi sp…
Browse files Browse the repository at this point in the history
…ecs with the latest generated spec from the application
  • Loading branch information
wapmon committed Sep 23, 2022
1 parent c778125 commit 1b7cef8
Show file tree
Hide file tree
Showing 9 changed files with 101 additions and 80 deletions.
2 changes: 1 addition & 1 deletion openapi.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://localhost:9000","description":"Generated server url"}],"paths":{"/api/jwt/auth/signin":{"post":{"tags":["jwt-auth-controller"],"operationId":"signin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationRequest"}}}},"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/users/search/{text}":{"get":{"tags":["jwt-user-controller"],"operationId":"search","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/users/search/":{"get":{"tags":["jwt-user-controller"],"operationId":"searchAll","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search":{"post":{"tags":["jwt-item-controller"],"operationId":"search_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search"}}}},"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search/{text}":{"get":{"tags":["jwt-item-controller"],"operationId":"search_2","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search/":{"get":{"tags":["jwt-item-controller"],"operationId":"searchAll_1","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/basic/items/search/":{"get":{"tags":["basic-auth-item-controller"],"operationId":"search_3","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/basic/items/search/{text}":{"get":{"tags":["basic-auth-item-controller"],"operationId":"search_4","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/token/items/search/":{"get":{"tags":["token-item-controller"],"operationId":"search_5","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/token/items/search/{text}":{"get":{"tags":["token-item-controller"],"operationId":"search_6","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"AuthenticationRequest":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"}}},"Search":{"type":"object","properties":{"searchText":{"type":"string"}}}}}}
{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"https://localhost:9000","description":"Generated server url"}],"paths":{"/api/token/items/search/":{"get":{"tags":["token-item-controller"],"operationId":"search","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/token/items/search/{text}":{"get":{"tags":["token-item-controller"],"operationId":"search_1","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/auth/signin":{"post":{"tags":["jwt-auth-controller"],"operationId":"signin","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthenticationRequest"}}}},"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search":{"post":{"tags":["jwt-item-controller"],"operationId":"search_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search"}}}},"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search/{text}":{"get":{"tags":["jwt-item-controller"],"operationId":"search_3","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/items/search/":{"get":{"tags":["jwt-item-controller"],"operationId":"searchAll","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/users/search/{text}":{"get":{"tags":["jwt-user-controller"],"operationId":"search_4","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/users/search/bad/{text}":{"get":{"tags":["jwt-user-controller"],"operationId":"searchCrappy","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/jwt/users/search/":{"get":{"tags":["jwt-user-controller"],"operationId":"searchAll_1","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/basic/items/search/":{"get":{"tags":["basic-auth-item-controller"],"operationId":"search_5","responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/api/basic/items/search/{text}":{"get":{"tags":["basic-auth-item-controller"],"operationId":"search_6","parameters":[{"name":"text","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"AuthenticationRequest":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"tenant":{"type":"string"}}},"Search":{"type":"object","properties":{"searchText":{"type":"string"}}}}}}
179 changes: 100 additions & 79 deletions openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,163 +1,182 @@
---
openapi: 3.0.1
info:
title: OpenAPI Specification for JavaSpringVulny
title: OpenAPI definition
version: v0
servers:
- url: https://localhost:9000
description: Generated server url
- url: https://localhost:9000
description: Generated server url
paths:
/api/jwt/auth/signin:
post:
"/api/token/items/search/":
get:
tags:
- jwt-auth-controller
operationId: signin
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticationRequest'
- token-item-controller
operationId: search
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/jwt/users/search/{text}:
"/api/token/items/search/{text}":
get:
tags:
- jwt-user-controller
operationId: search
- token-item-controller
operationId: search_1
parameters:
- name: text
in: path
required: true
schema:
type: string
- name: text
in: path
required: true
schema:
type: string
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/jwt/users/search/:
get:
"/api/jwt/auth/signin":
post:
tags:
- jwt-user-controller
operationId: searchAll
- jwt-auth-controller
operationId: signin
requestBody:
content:
application/json:
schema:
"$ref": "#/components/schemas/AuthenticationRequest"
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/jwt/items/search:
"/api/jwt/items/search":
post:
tags:
- jwt-item-controller
operationId: search_1
- jwt-item-controller
operationId: search_2
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Search'
"$ref": "#/components/schemas/Search"
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/jwt/items/search/{text}:
"/api/jwt/items/search/{text}":
get:
tags:
- jwt-item-controller
operationId: search_2
- jwt-item-controller
operationId: search_3
parameters:
- name: text
in: path
required: true
schema:
type: string
- name: text
in: path
required: true
schema:
type: string
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/jwt/items/search/:
"/api/jwt/items/search/":
get:
tags:
- jwt-item-controller
operationId: searchAll_1
- jwt-item-controller
operationId: searchAll
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/basic/items/search/:
"/api/jwt/users/search/{text}":
get:
tags:
- basic-auth-item-controller
operationId: search_3
- jwt-user-controller
operationId: search_4
parameters:
- name: text
in: path
required: true
schema:
type: string
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/basic/items/search/{text}:
"/api/jwt/users/search/bad/{text}":
get:
tags:
- basic-auth-item-controller
operationId: search_4
- jwt-user-controller
operationId: searchCrappy
parameters:
- name: text
in: path
required: true
schema:
type: string
- name: text
in: path
required: true
schema:
type: string
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/token/items/search/:
"/api/jwt/users/search/":
get:
tags:
- token-item-controller
- jwt-user-controller
operationId: searchAll_1
responses:
'200':
description: default response
content:
"*/*":
schema:
type: string
"/api/basic/items/search/":
get:
tags:
- basic-auth-item-controller
operationId: search_5
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
/api/token/items/search/{text}:
"/api/basic/items/search/{text}":
get:
tags:
- token-item-controller
- basic-auth-item-controller
operationId: search_6
parameters:
- name: text
in: path
required: true
schema:
type: string
- name: text
in: path
required: true
schema:
type: string
responses:
200:
'200':
description: default response
content:
'*/*':
"*/*":
schema:
type: string
components:
Expand All @@ -169,6 +188,8 @@ components:
type: string
password:
type: string
tenant:
type: string
Search:
type: object
properties:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 1b7cef8

Please sign in to comment.