Skip to content

Instantly share code, notes, and snippets.

@martin-mfg
Created October 7, 2023 15:34
Show Gist options
  • Save martin-mfg/e10c711269678565c0407e17071b7574 to your computer and use it in GitHub Desktop.
Save martin-mfg/e10c711269678565c0407e17071b7574 to your computer and use it in GitHub Desktop.
package org.openapitools.client;
import org.openapitools.client.api.DefaultApi;
import java.time.OffsetDateTime;
public class Main {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi(new ApiClient());
String result = apiInstance.anythingGet(OffsetDateTime.now());
System.out.println(result);
}
}
openapi: 3.0.3
info:
title: Demo
description: Demo
version: 1.0.0
servers:
- url: https://httpbin.org/
paths:
/anything:
get:
parameters:
- name: myParam
in: query
schema:
type: string
format: date-time
responses:
200:
description: OK
content:
application/json:
schema:
type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment