openapi: 3.2.0 info: title: Level2 Hub Controller Composer Generate Strategy API version: 0.1.0 tags: - name: Composer Generate Strategy paths: /composer_generate_strategy: post: summary: Composer Generate Strategy operationId: composer_generate_strategy_composer_generate_strategy_post parameters: - required: true schema: title: User Id type: string name: user_id in: query requestBody: content: application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Body_composer_generate_strategy_composer_generate_strategy_post' required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Composer Generate Strategy components: schemas: HTTPValidationError: title: HTTPValidationError type: object properties: detail: title: Detail type: array items: $ref: '#/components/schemas/ValidationError' ValidationError: title: ValidationError required: - loc - msg - type type: object properties: loc: title: Location type: array items: anyOf: - type: string - type: integer msg: title: Message type: string type: title: Error Type type: string Body_composer_generate_strategy_composer_generate_strategy_post: title: Body_composer_generate_strategy_composer_generate_strategy_post required: - risk - rr - wr - action - drawdown - timeframe - asset - category type: object properties: risk: title: Risk type: string rr: title: Rr type: string wr: title: Wr type: string action: title: Action type: string drawdown: title: Drawdown type: string timeframe: title: Timeframe type: string asset: title: Asset type: string category: title: Category type: string