Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jac-cloud changed in readme #1560

Merged
merged 2 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jac-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ Simply replace `jac run` with `jac serve`. `jac serve` starts an API server with
Once starts, navigate to `/docs` to access the built-in API docs.

For additional details, check out [our documentation](https://www.jac-lang.org/learn/guide/).

test
117 changes: 2 additions & 115 deletions jac-cloud/jac_cloud/tests/openapi_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,40 +108,6 @@ components:
- multiple
title: Body_api_root_walker_post_with_file_post
type: object
Child:
properties:
arr:
items:
type: integer
title: Arr
type: array
enum_field:
description: "Create a collection of name/value pairs.\n\nExample enumeration:\n\
\n>>> class Color(Enum):\n... RED = 1\n... BLUE = 2\n... GREEN\
\ = 3\n\nAccess them by:\n\n- attribute access:\n\n >>> Color.RED\n \
\ <Color.RED: 1>\n\n- value lookup:\n\n >>> Color(1)\n <Color.RED: 1>\n\
\n- name lookup:\n\n >>> Color['RED']\n <Color.RED: 1>\n\nEnumerations\
\ can be iterated over, and know how many members they have:\n\n>>> len(Color)\n\
3\n\n>>> list(Color)\n[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN:\
\ 3>]\n\nMethods can be added to enumerations, and members can have their\
\ own\nattributes -- see the documentation for details."
enum: []
title: Enum
json:
additionalProperties:
type: integer
title: Json
type: object
val:
title: Val
type: integer
required:
- val
- arr
- json
- enum_field
title: Child
type: object
ContextResponse_NoneType_:
properties:
reports:
Expand All @@ -164,36 +130,6 @@ components:
- status
title: ContextResponse
type: object
ContextResponse_Union_NoneType__int__str__bool__Parent__list__dict__:
properties:
reports:
anyOf:
- items: {}
type: array
- type: 'null'
title: Reports
returns:
anyOf:
- items:
anyOf:
- type: integer
- type: string
- type: boolean
- $ref: '#/components/schemas/Parent'
- items: {}
type: array
- type: object
- type: 'null'
type: array
- type: 'null'
title: Returns
status:
title: Status
type: integer
required:
- status
title: ContextResponse
type: object
DetachSSO:
description: Attach SSO Request Model.
properties:
Expand All @@ -204,18 +140,6 @@ components:
- platform
title: DetachSSO
type: object
Enum:
description: "Create a collection of name/value pairs.\n\nExample enumeration:\n\
\n>>> class Color(Enum):\n... RED = 1\n... BLUE = 2\n... GREEN\
\ = 3\n\nAccess them by:\n\n- attribute access:\n\n >>> Color.RED\n <Color.RED:\
\ 1>\n\n- value lookup:\n\n >>> Color(1)\n <Color.RED: 1>\n\n- name lookup:\n\
\n >>> Color['RED']\n <Color.RED: 1>\n\nEnumerations can be iterated over,\
\ and know how many members they have:\n\n>>> len(Color)\n3\n\n>>> list(Color)\n\
[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]\n\nMethods can be added\
\ to enumerations, and members can have their own\nattributes -- see the documentation\
\ for details."
enum: []
title: Enum
Expiration:
description: Key Expiration.
properties:
Expand Down Expand Up @@ -280,43 +204,6 @@ components:
- ids
title: KeyIDs
type: object
Parent:
properties:
arr:
items:
type: integer
title: Arr
type: array
child:
$ref: '#/components/schemas/Child'
enum_field:
description: "Create a collection of name/value pairs.\n\nExample enumeration:\n\
\n>>> class Color(Enum):\n... RED = 1\n... BLUE = 2\n... GREEN\
\ = 3\n\nAccess them by:\n\n- attribute access:\n\n >>> Color.RED\n \
\ <Color.RED: 1>\n\n- value lookup:\n\n >>> Color(1)\n <Color.RED: 1>\n\
\n- name lookup:\n\n >>> Color['RED']\n <Color.RED: 1>\n\nEnumerations\
\ can be iterated over, and know how many members they have:\n\n>>> len(Color)\n\
3\n\n>>> list(Color)\n[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN:\
\ 3>]\n\nMethods can be added to enumerations, and members can have their\
\ own\nattributes -- see the documentation for details."
enum: []
title: Enum
json:
additionalProperties:
type: integer
title: Json
type: object
val:
title: Val
type: integer
required:
- val
- arr
- json
- enum_field
- child
title: Parent
type: object
UserChangePassword:
description: User Creation Request Model.
properties:
Expand Down Expand Up @@ -2509,7 +2396,7 @@ paths:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/ContextResponse_Union_NoneType__int__str__bool__Parent__list__dict__'
- $ref: '#/components/schemas/ContextResponse_NoneType_'
- {}
title: Response Api Root Walker Different Return Post
description: Successful Response
Expand All @@ -2534,7 +2421,7 @@ paths:
application/json:
schema:
anyOf:
- $ref: '#/components/schemas/ContextResponse_Union_NoneType__int__str__bool__Parent__list__dict__'
- $ref: '#/components/schemas/ContextResponse_NoneType_'
- {}
title: Response Api Entry Walker Different Return Node Post
description: Successful Response
Expand Down