Operartion model is now complete!

That should be the largest bulk of complexity, now onto components.
This commit is contained in:
Dave Shanley
2022-08-09 07:59:22 -04:00
parent e8bb52bf3d
commit ec87ddf8cc
11 changed files with 271 additions and 41 deletions

View File

@@ -138,6 +138,13 @@ paths:
summary: invalid request
value:
message: unable to accept this request, looks bad, missing something.
security:
- OAuthScheme:
- read:burgers
- write:burgers
servers:
- url: https://pb33f.io
description: this is an alternative server for this operation.
/burgers/{burgerId}:
get:
callbacks:
@@ -324,6 +331,34 @@ paths:
example:
message: "failed looking up all dressings, something went wrong."
components:
securitySchemes:
APIKeyScheme:
type: apiKey
description: an apiKey security scheme
name: apiKeyScheme
in: query
JWTScheme:
type: http
description: an JWT security scheme
name: aJWTThing
scheme: bearer
bearerFormat: JWT
OAuthScheme:
type: oauth2
description: an oAuth security scheme
name: oAuthy
flows:
implicit:
authorizationUrl: https://pb33f.io/oauth
scopes:
write:burgers: modify and add new burgers
read:burgers: read all burgers
authorizationCode:
authorizationUrl: https://pb33f.io/oauth
tokenUrl: https://api.pb33f.io/oauth/token
scopes:
write:burgers: modify burgers and stuff
read:burgers: read all the burgers
parameters:
BurgerHeader:
in: header